#D1E97F
Closest named color: Pistachio (#C0FA8B). oklch(89.4% 0.135 119.7), rgb(209, 233, 127).
Aa
Black text reads best on this color (15.67:1).
About this color
#D1E97F is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.135 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.044 away. Black text reads best on it, at 15.67:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Pistachio (#C0FA8B) |
| Black text | 15.67:1 |
| White text | 1.33:1 |
Values
| HEX | #D1E97F |
| RGB | rgb(209, 233, 127) |
| HSL | hsl(74, 71%, 71%) |
| OKLCH | oklch(89.4% 0.135 119.7) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D1E97F | 1.33:1 | Fails | Lc -19.1 | Dividers and decoration only |
| Black text on #D1E97F | 15.67:1 | AAA | Lc 87.0 | Fine for body text |
| #D1E97F text on white | 1.33:1 | Fails | Lc 16.7 | Dividers and decoration only |
| #D1E97F 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.
-
Step 50
50
#F3F8E7
oklch(97.1% 0.023 120.2)
-
Step 100
100
#E5EFCA
oklch(93.5% 0.05 119.7)
-
Step 200
200 (this color)
#D1E97F
oklch(89.4% 0.135 119.7)
-
Step 300
300
#B4D037
oklch(81% 0.173 119.6)
-
Step 400
400
#95AE00
oklch(70.7% 0.167 119.5)
-
Step 500
500
#7F9500
oklch(63% 0.149 119.6)
-
Step 600
600
#6A7D00
oklch(55.5% 0.131 119.7)
-
Step 700
700
#596900
oklch(49% 0.116 119.6)
-
Step 800
800
#495600
oklch(42.7% 0.101 119.3)
-
Step 900
900
#3C4800
oklch(37.7% 0.09 119.9)
-
Step 950
950
#232B00
oklch(27.2% 0.064 120)
#D1E97F 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #F5DF76 | 0.051 |
| Deuteranopia (no green cones) | #F2DF85 | 0.052 |
| Tritanopia (no blue cones) | #DADFD0 | 0.114 |
| Achromatopsia (no color) | #DEDEDE | 0.135 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D1E97F
#D1E97F
oklch(89.4% 0.135 119.7)
- #E1D4FF
#E1D4FF
oklch(89.4% 0.06 299)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D1E97F, closest first.
No curated palette has a color within ΔE 0.04 of #D1E97F.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pistachio #C0FA8B ΔE 0.044
- Washed Out Green #BCF5A6 ΔE 0.045
- Khaki #F0E68C ΔE 0.047
- Dull Yellow #EEDC5B ΔE 0.048
- Celery #C1FD95 ΔE 0.050
- Light Sage #BCECAC ΔE 0.051
- Light Khaki #E6F2A2 ΔE 0.052
- Light Yellow Green #CCFD7F ΔE 0.053
Use #D1E97F 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.