#D8D299

Closest named color: Vanilla (#E9D8A6). oklch(85.5% 0.075 102.8), rgb(216, 210, 153).

Aa

Black text reads best on this color (13.59:1).

About this color

#D8D299 is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.075 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.033 away. Black text reads best on it, at 13.59:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.075)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text13.59:1
White text1.54:1

Values

HEX#D8D299
RGBrgb(216, 210, 153)
HSLhsl(54, 45%, 72%)
OKLCHoklch(85.5% 0.075 102.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #D8D299 1.54:1 Fails Lc -28.4 Dividers and decoration only
Black text on #D8D299 13.59:1 AAA Lc 78.7 Fine for body text
#D8D299 text on white 1.54:1 Fails Lc 25.1 Dividers and decoration only
#D8D299 text on black 13.59:1 AAA Lc -78.0 Fine for body text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.

  1. Step 50

    50

    #F7F6EC

    oklch(97.1% 0.013 102)

  2. Step 100

    100

    #EDEBD6

    oklch(93.6% 0.028 102.5)

  3. Step 200

    200 (this color)

    #D8D299

    oklch(85.5% 0.075 102.8)

  4. Step 300

    300

    #CCC479

    oklch(81% 0.097 103)

  5. Step 400

    400

    #B2A300

    oklch(70.6% 0.148 102.9)

  6. Step 500

    500

    #998C00

    oklch(63.2% 0.133 102.9)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #4A4300

    oklch(37.8% 0.079 102.7)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#D8D299 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#DCCE950.011
Deuteranopia (no green cones)#DFD19B0.011
Tritanopia (no blue cones)#E1CAC30.068
Achromatopsia (no color)#D0D0D00.075

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #D8D299

    #D8D299

    oklch(85.5% 0.075 102.8)

  • #C8CAFF

    #C8CAFF

    oklch(85.5% 0.074 283)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8D299

    #D8D299

    oklch(85.5% 0.075 102.8)

  • #EEC899

    #EEC899

    oklch(85.4% 0.075 72.5)

  • #BDDAA8

    #BDDAA8

    oklch(85.4% 0.074 132.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #D8D299

    #D8D299

    oklch(85.5% 0.075 102.8)

  • #AED3FF

    #AED3FF

    oklch(85.5% 0.073 253)

  • #E0C2F3

    #E0C2F3

    oklch(85.5% 0.074 312.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8D299

    #D8D299

    oklch(85.5% 0.075 102.8)

  • #98DBF3

    #98DBF3

    oklch(85.5% 0.075 222.4)

  • #F3BCDC

    #F3BCDC

    oklch(85.4% 0.075 343)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8D299

    #D8D299

    oklch(85.5% 0.075 102.8)

  • #94DFDC

    #94DFDC

    oklch(85.4% 0.074 192.7)

  • #C8CAFF

    #C8CAFF

    oklch(85.5% 0.074 283)

  • #FCBCC2

    #FCBCC2

    oklch(85.5% 0.074 12.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D8D299, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #D8D299 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.