#D8D196

Closest named color: Sand (#E2CA76). oklch(85.2% 0.077 102.2), rgb(216, 209, 150).

Aa

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

About this color

#D8D196 is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.077 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.035 away. Black text reads best on it, at 13.48:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.48:1
White text1.55:1

Values

HEX#D8D196
RGBrgb(216, 209, 150)
HSLhsl(54, 46%, 72%)
OKLCHoklch(85.2% 0.077 102.2)

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 #D8D196 1.55:1 Fails Lc -28.9 Dividers and decoration only
Black text on #D8D196 13.48:1 AAA Lc 78.2 Fine for body text
#D8D196 text on white 1.55:1 Fails Lc 25.6 Dividers and decoration only
#D8D196 text on black 13.48:1 AAA Lc -77.5 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

    #EDEBD5

    oklch(93.6% 0.029 102.7)

  3. Step 200

    200 (this color)

    #D8D196

    oklch(85.2% 0.077 102.2)

  4. Step 300

    300

    #CDC376

    oklch(80.8% 0.099 101.9)

  5. Step 400

    400

    #B3A300

    oklch(70.7% 0.148 102.4)

  6. Step 500

    500

    #9A8B00

    oklch(63% 0.132 101.8)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  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

#D8D196 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)#DCCD920.011
Deuteranopia (no green cones)#DED1980.009
Tritanopia (no blue cones)#E2C9C20.071
Achromatopsia (no color)#CFCFCF0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8D196

    #D8D196

    oklch(85.2% 0.077 102.2)

  • #C6C9FF

    #C6C9FF

    oklch(85.2% 0.075 282.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8D196

    #D8D196

    oklch(85.2% 0.077 102.2)

  • #EEC797

    #EEC797

    oklch(85.2% 0.077 72.3)

  • #BCDAA6

    #BCDAA6

    oklch(85.3% 0.077 132.3)

Open the analogous palette in the generator

Split complementary

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

  • #D8D196

    #D8D196

    oklch(85.2% 0.077 102.2)

  • #ABD2FF

    #ABD2FF

    oklch(85.1% 0.076 252.3)

  • #E0C0F4

    #E0C0F4

    oklch(85.2% 0.079 312.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8D196

    #D8D196

    oklch(85.2% 0.077 102.2)

  • #95DAF3

    #95DAF3

    oklch(85.1% 0.077 222.7)

  • #F3BBDD

    #F3BBDD

    oklch(85.2% 0.078 341.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8D196

    #D8D196

    oklch(85.2% 0.077 102.2)

  • #91DFDC

    #91DFDC

    oklch(85.2% 0.077 192.7)

  • #C6C9FF

    #C6C9FF

    oklch(85.2% 0.075 282.2)

  • #FDBAC1

    #FDBAC1

    oklch(85.2% 0.078 11.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #D8D196 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.