#D1E7A9

Closest named color: Tea Green (#CAE7B9). oklch(89.6% 0.085 124), rgb(209, 231, 169).

Aa

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

About this color

#D1E7A9 is a light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.085 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tea Green (#CAE7B9), ΔE 0.021 away. Black text reads best on it, at 15.71:1.

Hue familyYellows
Lightnesslight (90%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameTea Green (#CAE7B9)
Black text15.71:1
White text1.33:1

Values

HEX#D1E7A9
RGBrgb(209, 231, 169)
HSLhsl(81, 56%, 78%)
OKLCHoklch(89.6% 0.085 124)

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 #D1E7A9 1.33:1 Fails Lc -19.0 Dividers and decoration only
Black text on #D1E7A9 15.71:1 AAA Lc 87.1 Fine for body text
#D1E7A9 text on white 1.33:1 Fails Lc 16.5 Dividers and decoration only
#D1E7A9 text on black 15.71:1 AAA Lc -87.1 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

    #F3F7ED

    oklch(97% 0.014 124.6)

  2. Step 100

    100

    #E5EED7

    oklch(93.6% 0.032 124.5)

  3. Step 200

    200 (this color)

    #D1E7A9

    oklch(89.6% 0.085 124)

  4. Step 300

    300

    #B2CD7D

    oklch(81% 0.109 124)

  5. Step 400

    400

    #8AB106

    oklch(70.6% 0.174 124)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#D1E7A9 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)#EEDFA50.041
Deuteranopia (no green cones)#EBDFAC0.040
Tritanopia (no blue cones)#D5E1D70.069
Achromatopsia (no color)#DFDFDF0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1E7A9

    #D1E7A9

    oklch(89.6% 0.085 124)

  • #E5D3FF

    #E5D3FF

    oklch(89.5% 0.062 303.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1E7A9

    #D1E7A9

    oklch(89.6% 0.085 124)

  • #EFDD9C

    #EFDD9C

    oklch(89.7% 0.085 94.5)

  • #B1EEC4

    #B1EEC4

    oklch(89.7% 0.084 154.3)

Open the analogous palette in the generator

Split complementary

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

  • #D1E7A9

    #D1E7A9

    oklch(89.6% 0.085 124)

  • #D2DBFF

    #D2DBFF

    oklch(89.6% 0.05 274.3)

  • #FFC9F3

    #FFC9F3

    oklch(89.6% 0.081 334.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1E7A9

    #D1E7A9

    oklch(89.6% 0.085 124)

  • #BFE2FF

    #BFE2FF

    oklch(89.7% 0.054 243.4)

  • #FFCED8

    #FFCED8

    oklch(89.7% 0.057 4.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1E7A9

    #D1E7A9

    oklch(89.6% 0.085 124)

  • #99ECFF

    #99ECFF

    oklch(89.6% 0.085 213.8)

  • #E5D3FF

    #E5D3FF

    oklch(89.5% 0.062 303.7)

  • #FFD1C5

    #FFD1C5

    oklch(89.7% 0.055 35)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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