#D2E97E
Closest named color: Pistachio (#C0FA8B). oklch(89.4% 0.135 119.2), rgb(210, 233, 126).
Aa
Black text reads best on this color (15.69:1).
About this color
#D2E97E is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.135 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.044 away. Black text reads best on it, at 15.69:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Pistachio (#C0FA8B) |
| Black text | 15.69:1 |
| White text | 1.33:1 |
Values
| HEX | #D2E97E |
| RGB | rgb(210, 233, 126) |
| HSL | hsl(73, 71%, 70%) |
| OKLCH | oklch(89.4% 0.135 119.2) |
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 #D2E97E | 1.33:1 | Fails | Lc -19.0 | Dividers and decoration only |
| Black text on #D2E97E | 15.69:1 | AAA | Lc 87.1 | Fine for body text |
| #D2E97E text on white | 1.33:1 | Fails | Lc 16.6 | Dividers and decoration only |
| #D2E97E text on black | 15.69: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.
-
Step 50
50
#F3F8E7
oklch(97.1% 0.023 120.2)
-
Step 100
100
#E6EFCA
oklch(93.6% 0.05 118.5)
-
Step 200
200 (this color)
#D2E97E
oklch(89.4% 0.135 119.2)
-
Step 300
300
#B5CF34
oklch(80.8% 0.173 119)
-
Step 400
400
#96AE00
oklch(70.7% 0.166 119.1)
-
Step 500
500
#809500
oklch(63.1% 0.149 119.2)
-
Step 600
600
#6B7D00
oklch(55.5% 0.131 119.3)
-
Step 700
700
#5A6900
oklch(49.1% 0.115 119)
-
Step 800
800
#495600
oklch(42.7% 0.101 119.3)
-
Step 900
900
#3D4800
oklch(37.8% 0.089 119.1)
-
Step 950
950
#232A00
oklch(26.9% 0.063 118.9)
#D2E97E 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) | #F5DF75 | 0.050 |
| Deuteranopia (no green cones) | #F2DF84 | 0.051 |
| Tritanopia (no blue cones) | #DBDFD0 | 0.115 |
| Achromatopsia (no color) | #DFDFDF | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2E97E
#D2E97E
oklch(89.4% 0.135 119.2)
- #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 #D2E97E, closest first.
No curated palette has a color within ΔE 0.04 of #D2E97E.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pistachio #C0FA8B ΔE 0.044
- Khaki #F0E68C ΔE 0.046
- Washed Out Green #BCF5A6 ΔE 0.046
- Dull Yellow #EEDC5B ΔE 0.047
- Celery #C1FD95 ΔE 0.051
- Light Khaki #E6F2A2 ΔE 0.052
- Light Yellow Green #CCFD7F ΔE 0.052
- Light Sage #BCECAC ΔE 0.052
Use #D2E97E 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.