#D1E187

Closest named color: Light Grey Green (#B7E1A1). oklch(87.8% 0.116 117.1), rgb(209, 225, 135).

Aa

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

About this color

#D1E187 is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.116 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.041 away. Black text reads best on it, at 14.83:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text14.83:1
White text1.41:1

Values

HEX#D1E187
RGBrgb(209, 225, 135)
HSLhsl(71, 60%, 71%)
OKLCHoklch(87.8% 0.116 117.1)

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 #D1E187 1.41:1 Fails Lc -22.8 Dividers and decoration only
Black text on #D1E187 14.83:1 AAA Lc 83.7 Fine for body text
#D1E187 text on white 1.41:1 Fails Lc 20.0 Dividers and decoration only
#D1E187 text on black 14.83:1 AAA Lc -83.4 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

    #F4F7E9

    oklch(97% 0.019 116.6)

  2. Step 100

    100

    #E7EECE

    oklch(93.5% 0.043 117.3)

  3. Step 200

    200 (this color)

    #D1E187

    oklch(87.8% 0.116 117.1)

  4. Step 300

    300

    #BACD52

    oklch(81% 0.149 117.3)

  5. Step 400

    400

    #9AAC00

    oklch(70.6% 0.163 117)

  6. Step 500

    500

    #849400

    oklch(63.2% 0.146 117.1)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#D1E187 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)#ECD8800.040
Deuteranopia (no green cones)#EBD98B0.041
Tritanopia (no blue cones)#DAD8CB0.099
Achromatopsia (no color)#D9D9D90.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1E187

    #D1E187

    oklch(87.8% 0.116 117.1)

  • #DBCEFF

    #DBCEFF

    oklch(87.8% 0.068 297.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1E187

    #D1E187

    oklch(87.8% 0.116 117.1)

  • #F7D27A

    #F7D27A

    oklch(87.7% 0.115 87.2)

  • #A3ECAA

    #A3ECAA

    oklch(87.8% 0.116 146.9)

Open the analogous palette in the generator

Split complementary

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

  • #D1E187

    #D1E187

    oklch(87.8% 0.116 117.1)

  • #C5D6FF

    #C5D6FF

    oklch(87.7% 0.06 267.4)

  • #FFBCFE

    #FFBCFE

    oklch(87.7% 0.114 327)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1E187

    #D1E187

    oklch(87.8% 0.116 117.1)

  • #ACDEFF

    #ACDEFF

    oklch(87.7% 0.069 237.5)

  • #FFC4D7

    #FFC4D7

    oklch(87.8% 0.071 357.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1E187

    #D1E187

    oklch(87.8% 0.116 117.1)

  • #6BECFD

    #6BECFD

    oklch(87.7% 0.116 207)

  • #DBCEFF

    #DBCEFF

    oklch(87.8% 0.068 297.1)

  • #FFC7C0

    #FFC7C0

    oklch(87.7% 0.065 26.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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