#D9D488

Closest named color: Sand (#E2CA76). oklch(85.7% 0.097 105), rgb(217, 212, 136).

Aa

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

About this color

#D9D488 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.097 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.027 away. Black text reads best on it, at 13.72:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.72:1
White text1.53:1

Values

HEX#D9D488
RGBrgb(217, 212, 136)
HSLhsl(56, 52%, 69%)
OKLCHoklch(85.7% 0.097 105)

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 #D9D488 1.53:1 Fails Lc -27.8 Dividers and decoration only
Black text on #D9D488 13.72:1 AAA Lc 79.2 Fine for body text
#D9D488 text on white 1.53:1 Fails Lc 24.5 Dividers and decoration only
#D9D488 text on black 13.72:1 AAA Lc -78.6 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

    #F7F6EA

    oklch(97.1% 0.016 102.8)

  2. Step 100

    100

    #EDECD0

    oklch(93.7% 0.037 105.4)

  3. Step 200

    200 (this color)

    #D9D488

    oklch(85.7% 0.097 105)

  4. Step 300

    300

    #CDC55F

    oklch(80.9% 0.124 104.8)

  5. Step 400

    400

    #AFA500

    oklch(70.8% 0.15 105.3)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#D9D488 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)#E0CF820.014
Deuteranopia (no green cones)#E3D38B0.015
Tritanopia (no blue cones)#E4CBC10.087
Achromatopsia (no color)#D1D1D10.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9D488

    #D9D488

    oklch(85.7% 0.097 105)

  • #CACAFF

    #CACAFF

    oklch(85.7% 0.073 284.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9D488

    #D9D488

    oklch(85.7% 0.097 105)

  • #F6C787

    #F6C787

    oklch(85.7% 0.097 74.5)

  • #B5DF9E

    #B5DF9E

    oklch(85.8% 0.098 134.8)

Open the analogous palette in the generator

Split complementary

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

  • #D9D488

    #D9D488

    oklch(85.7% 0.097 105)

  • #B1D3FF

    #B1D3FF

    oklch(85.7% 0.072 255)

  • #E8BDFC

    #E8BDFC

    oklch(85.6% 0.097 314.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9D488

    #D9D488

    oklch(85.7% 0.097 105)

  • #88DEFF

    #88DEFF

    oklch(85.8% 0.095 224.6)

  • #FFB7DF

    #FFB7DF

    oklch(85.8% 0.097 344.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9D488

    #D9D488

    oklch(85.7% 0.097 105)

  • #7CE4E4

    #7CE4E4

    oklch(85.7% 0.097 195.5)

  • #CACAFF

    #CACAFF

    oklch(85.7% 0.073 284.7)

  • #FFBCBF

    #FFBCBF

    oklch(85.7% 0.078 15.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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