#D1E7A4

Closest named color: Light Sage (#BCECAC). oklch(89.5% 0.091 123), rgb(209, 231, 164).

Aa

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

About this color

#D1E7A4 is a light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.091 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Sage (#BCECAC), ΔE 0.026 away. Black text reads best on it, at 15.67:1.

Hue familyYellows
Lightnesslight (90%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameLight Sage (#BCECAC)
Black text15.67:1
White text1.33:1

Values

HEX#D1E7A4
RGBrgb(209, 231, 164)
HSLhsl(80, 58%, 77%)
OKLCHoklch(89.5% 0.091 123)

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 #D1E7A4 1.33:1 Fails Lc -19.1 Dividers and decoration only
Black text on #D1E7A4 15.67:1 AAA Lc 87.0 Fine for body text
#D1E7A4 text on white 1.33:1 Fails Lc 16.7 Dividers and decoration only
#D1E7A4 text on black 15.67:1 AAA Lc -87.0 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

    #F3F7EC

    oklch(97% 0.015 123)

  2. Step 100

    100

    #E5EED6

    oklch(93.6% 0.033 123.8)

  3. Step 200

    200 (this color)

    #D1E7A4

    oklch(89.5% 0.091 123)

  4. Step 300

    300

    #B2CD76

    oklch(80.8% 0.117 123.1)

  5. Step 400

    400

    #8DB100

    oklch(70.8% 0.174 123)

  6. Step 500

    500

    #789700

    oklch(63% 0.154 123)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#D1E7A4 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)#EFDFA00.042
Deuteranopia (no green cones)#ECDEA70.043
Tritanopia (no blue cones)#D6E0D50.074
Achromatopsia (no color)#DEDEDE0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1E7A4

    #D1E7A4

    oklch(89.5% 0.091 123)

  • #E4D3FF

    #E4D3FF

    oklch(89.4% 0.062 302.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1E7A4

    #D1E7A4

    oklch(89.5% 0.091 123)

  • #F1DC97

    #F1DC97

    oklch(89.6% 0.09 93.2)

  • #AEEFC0

    #AEEFC0

    oklch(89.6% 0.092 152.9)

Open the analogous palette in the generator

Split complementary

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

  • #D1E7A4

    #D1E7A4

    oklch(89.5% 0.091 123)

  • #D1DBFF

    #D1DBFF

    oklch(89.5% 0.051 273.1)

  • #FFC9F5

    #FFC9F5

    oklch(89.6% 0.083 332.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1E7A4

    #D1E7A4

    oklch(89.5% 0.091 123)

  • #BEE2FF

    #BEE2FF

    oklch(89.6% 0.055 242.6)

  • #FFCDD9

    #FFCDD9

    oklch(89.5% 0.058 2.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1E7A4

    #D1E7A4

    oklch(89.5% 0.091 123)

  • #96ECFF

    #96ECFF

    oklch(89.5% 0.087 213.3)

  • #E4D3FF

    #E4D3FF

    oklch(89.4% 0.062 302.7)

  • #FFD0C5

    #FFD0C5

    oklch(89.5% 0.055 33.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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