#D1DE7B

Closest named color: Greenish Beige (#C9D179). oklch(86.9% 0.125 115.2), rgb(209, 222, 123).

Aa

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

About this color

#D1DE7B is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.125 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.037 away. Black text reads best on it, at 14.44:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text14.44:1
White text1.45:1

Values

HEX#D1DE7B
RGBrgb(209, 222, 123)
HSLhsl(68, 60%, 68%)
OKLCHoklch(86.9% 0.125 115.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 #D1DE7B 1.45:1 Fails Lc -24.5 Dividers and decoration only
Black text on #D1DE7B 14.44:1 AAA Lc 82.2 Fine for body text
#D1DE7B text on white 1.45:1 Fails Lc 21.6 Dividers and decoration only
#D1DE7B text on black 14.44:1 AAA Lc -81.8 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

    #F5F7E7

    oklch(97% 0.021 112.6)

  2. Step 100

    100

    #E8EECB

    oklch(93.5% 0.046 115.2)

  3. Step 200

    200 (this color)

    #D1DE7B

    oklch(86.9% 0.125 115.2)

  4. Step 300

    300

    #BECC40

    oklch(80.9% 0.16 115)

  5. Step 400

    400

    #9EAB00

    oklch(70.7% 0.16 115.1)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5500

    oklch(42.8% 0.097 115.1)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

#D1DE7B 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)#EAD5730.038
Deuteranopia (no green cones)#E9D7800.039
Tritanopia (no blue cones)#DBD4C70.109
Achromatopsia (no color)#D6D6D60.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1DE7B

    #D1DE7B

    oklch(86.9% 0.125 115.2)

  • #D7CBFF

    #D7CBFF

    oklch(86.9% 0.072 295.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1DE7B

    #D1DE7B

    oklch(86.9% 0.125 115.2)

  • #F9CE6E

    #F9CE6E

    oklch(87% 0.124 85.6)

  • #9FEAA1

    #9FEAA1

    oklch(87% 0.124 145)

Open the analogous palette in the generator

Split complementary

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

  • #D1DE7B

    #D1DE7B

    oklch(86.9% 0.125 115.2)

  • #C0D4FF

    #C0D4FF

    oklch(86.9% 0.064 265.5)

  • #FCB9FF

    #FCB9FF

    oklch(86.9% 0.118 325.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1DE7B

    #D1DE7B

    oklch(86.9% 0.125 115.2)

  • #A4DDFF

    #A4DDFF

    oklch(87% 0.075 235)

  • #FFBFD6

    #FFBFD6

    oklch(86.9% 0.079 355.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1DE7B

    #D1DE7B

    oklch(86.9% 0.125 115.2)

  • #59EBFB

    #59EBFB

    oklch(86.9% 0.124 205.4)

  • #D7CBFF

    #D7CBFF

    oklch(86.9% 0.072 295.4)

  • #FFC3BD

    #FFC3BD

    oklch(86.9% 0.07 25.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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