#D1E87E

Closest named color: Pistachio (#C0FA8B). oklch(89.1% 0.134 119.3), rgb(209, 232, 126).

Aa

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

About this color

#D1E87E is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.134 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.046 away. Black text reads best on it, at 15.55:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text15.55:1
White text1.35:1

Values

HEX#D1E87E
RGBrgb(209, 232, 126)
HSLhsl(73, 70%, 70%)
OKLCHoklch(89.1% 0.134 119.3)

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 #D1E87E 1.35:1 Fails Lc -19.6 Dividers and decoration only
Black text on #D1E87E 15.55:1 AAA Lc 86.5 Fine for body text
#D1E87E text on white 1.35:1 Fails Lc 17.1 Dividers and decoration only
#D1E87E text on black 15.55:1 AAA Lc -86.5 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

    #F3F8E7

    oklch(97.1% 0.023 120.2)

  2. Step 100

    100

    #E6EFCA

    oklch(93.6% 0.05 118.5)

  3. Step 200

    200 (this color)

    #D1E87E

    oklch(89.1% 0.134 119.3)

  4. Step 300

    300

    #B5CF36

    oklch(80.8% 0.172 119)

  5. Step 400

    400

    #96AE00

    oklch(70.7% 0.166 119.1)

  6. Step 500

    500

    #809500

    oklch(63.1% 0.149 119.2)

  7. Step 600

    600

    #6B7D00

    oklch(55.5% 0.131 119.3)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#D1E87E 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)#F4DE750.050
Deuteranopia (no green cones)#F1DE840.051
Tritanopia (no blue cones)#DADECF0.114
Achromatopsia (no color)#DEDEDE0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1E87E

    #D1E87E

    oklch(89.1% 0.134 119.3)

  • #E0D3FF

    #E0D3FF

    oklch(89.1% 0.061 298.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1E87E

    #D1E87E

    oklch(89.1% 0.134 119.3)

  • #FFD76A

    #FFD76A

    oklch(89.2% 0.135 89.3)

  • #99F4AA

    #99F4AA

    oklch(89.1% 0.134 149.1)

Open the analogous palette in the generator

Split complementary

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

  • #D1E87E

    #D1E87E

    oklch(89.1% 0.134 119.3)

  • #CDDAFF

    #CDDAFF

    oklch(89% 0.053 270)

  • #FFC5FA

    #FFC5FA

    oklch(89.1% 0.095 329.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1E87E

    #D1E87E

    oklch(89.1% 0.134 119.3)

  • #B8E1FF

    #B8E1FF

    oklch(89% 0.06 240.1)

  • #FFCBDA

    #FFCBDA

    oklch(89.2% 0.062 359.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1E87E

    #D1E87E

    oklch(89.1% 0.134 119.3)

  • #85EEFF

    #85EEFF

    oklch(89.2% 0.1 209)

  • #E0D3FF

    #E0D3FF

    oklch(89.1% 0.061 298.7)

  • #FFCEC6

    #FFCEC6

    oklch(89.2% 0.057 29)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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