#D9D77C

Closest named color: Greenish Beige (#C9D179). oklch(86.1% 0.114 107.5), rgb(217, 215, 124).

Aa

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

About this color

#D9D77C is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.114 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.028 away. Black text reads best on it, at 13.96:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.114)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text13.96:1
White text1.50:1

Values

HEX#D9D77C
RGBrgb(217, 215, 124)
HSLhsl(59, 55%, 67%)
OKLCHoklch(86.1% 0.114 107.5)

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 #D9D77C 1.50:1 Fails Lc -26.7 Dividers and decoration only
Black text on #D9D77C 13.96:1 AAA Lc 80.2 Fine for body text
#D9D77C text on white 1.50:1 Fails Lc 23.5 Dividers and decoration only
#D9D77C text on black 13.96:1 AAA Lc -79.7 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

    #F6F7E8

    oklch(97.1% 0.02 109.9)

  2. Step 100

    100

    #ECECCC

    oklch(93.5% 0.042 107.2)

  3. Step 200

    200 (this color)

    #D9D77C

    oklch(86.1% 0.114 107.5)

  4. Step 300

    300

    #CBC747

    oklch(80.9% 0.147 107.5)

  5. Step 400

    400

    #ABA600

    oklch(70.6% 0.152 107.6)

  6. Step 500

    500

    #938E00

    oklch(63.1% 0.135 107.2)

  7. Step 600

    600

    #7B7700

    oklch(55.5% 0.119 107.4)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #555200

    oklch(42.8% 0.092 107.3)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#D9D77C 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)#E4D0750.021
Deuteranopia (no green cones)#E6D4800.021
Tritanopia (no blue cones)#E5CDC10.101
Achromatopsia (no color)#D3D3D30.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9D77C

    #D9D77C

    oklch(86.1% 0.114 107.5)

  • #CECBFF

    #CECBFF

    oklch(86.2% 0.072 287.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9D77C

    #D9D77C

    oklch(86.1% 0.114 107.5)

  • #FBC878

    #FBC878

    oklch(86.1% 0.114 77.6)

  • #ADE399

    #ADE399

    oklch(86% 0.114 137.5)

Open the analogous palette in the generator

Split complementary

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

  • #D9D77C

    #D9D77C

    oklch(86.1% 0.114 107.5)

  • #B5D4FF

    #B5D4FF

    oklch(86.2% 0.069 256.6)

  • #EEBCFF

    #EEBCFF

    oklch(86.1% 0.105 317.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9D77C

    #D9D77C

    oklch(86.1% 0.114 107.5)

  • #91DEFF

    #91DEFF

    oklch(86.2% 0.089 227)

  • #FFB9DD

    #FFB9DD

    oklch(86.1% 0.092 347)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9D77C

    #D9D77C

    oklch(86.1% 0.114 107.5)

  • #67E8EB

    #67E8EB

    oklch(86% 0.113 197.4)

  • #CECBFF

    #CECBFF

    oklch(86.2% 0.072 287.4)

  • #FFBEBF

    #FFBEBF

    oklch(86.1% 0.075 17.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D9D77C.

Similar named colors

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

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