#D2E7AF
Closest named color: Tea Green (#CAE7B9). oklch(89.8% 0.077 124.6), rgb(210, 231, 175).
Aa
Black text reads best on this color (15.78:1).
About this color
#D2E7AF is a light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.077 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tea Green (#CAE7B9), ΔE 0.015 away. Black text reads best on it, at 15.78:1.
| Hue family | Yellows |
| Lightness | light (90%) |
| Chroma | moderately saturated (0.077) |
| Temperature | in between |
| Nearest name | Tea Green (#CAE7B9) |
| Black text | 15.78:1 |
| White text | 1.32:1 |
Values
| HEX | #D2E7AF |
| RGB | rgb(210, 231, 175) |
| HSL | hsl(83, 54%, 80%) |
| OKLCH | oklch(89.8% 0.077 124.6) |
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 #D2E7AF | 1.32:1 | Fails | Lc -18.7 | Dividers and decoration only |
| Black text on #D2E7AF | 15.78:1 | AAA | Lc 87.4 | Fine for body text |
| #D2E7AF text on white | 1.32:1 | Fails | Lc 16.3 | Dividers and decoration only |
| #D2E7AF text on black | 15.78:1 | AAA | Lc -87.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.
-
Step 50
50
#F3F7EE
oklch(97.1% 0.013 126.4)
-
Step 100
100
#E5EED9
oklch(93.7% 0.029 126)
-
Step 200
200 (this color)
#D2E7AF
oklch(89.8% 0.077 124.6)
-
Step 300
300
#B2CC84
oklch(80.9% 0.1 124.7)
-
Step 400
400
#8BB12E
oklch(70.8% 0.159 124.7)
-
Step 500
500
#759800
oklch(63% 0.157 124.4)
-
Step 600
600
#618000
oklch(55.5% 0.139 124.8)
-
Step 700
700
#516C00
oklch(49.2% 0.123 125)
-
Step 800
800
#425800
oklch(42.6% 0.107 124.6)
-
Step 900
900
#374900
oklch(37.6% 0.094 124.1)
-
Step 950
950
#1F2C00
oklch(27.1% 0.068 125.1)
#D2E7AF 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) | #EEE0AC | 0.039 |
| Deuteranopia (no green cones) | #EADFB1 | 0.037 |
| Tritanopia (no blue cones) | #D6E1D8 | 0.062 |
| Achromatopsia (no color) | #DFDFDF | 0.077 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2E7AF
#D2E7AF
oklch(89.8% 0.077 124.6)
- #E6D4FF
#E6D4FF
oklch(89.8% 0.061 304.2)
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 #D2E7AF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tea Green #CAE7B9 ΔE 0.015
- Light Sage #BCECAC ΔE 0.030
- Pale Goldenrod #EEE8AA ΔE 0.037
- Lemon Meringue #EAE2B7 ΔE 0.037
- Light Grey Green #B7E1A1 ΔE 0.043
- Vanilla #E9D8A6 ΔE 0.045
- Light Khaki #E6F2A2 ΔE 0.046
- Washed Out Green #BCF5A6 ΔE 0.049
Use #D2E7AF 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.