#D7E6AF
Closest named color: Tea Green (#CAE7B9). oklch(90% 0.074 120.3), rgb(215, 230, 175).
Aa
Black text reads best on this color (15.82:1).
About this color
#D7E6AF is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.074 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tea Green (#CAE7B9), ΔE 0.019 away. Black text reads best on it, at 15.82:1.
| Hue family | Yellows |
| Lightness | very light (90%) |
| Chroma | moderately saturated (0.074) |
| Temperature | in between |
| Nearest name | Tea Green (#CAE7B9) |
| Black text | 15.82:1 |
| White text | 1.32:1 |
Values
| HEX | #D7E6AF |
| RGB | rgb(215, 230, 175) |
| HSL | hsl(76, 52%, 79%) |
| OKLCH | oklch(90% 0.074 120.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D7E6AF | 1.32:1 | Fails | Lc -18.5 | Dividers and decoration only |
| Black text on #D7E6AF | 15.82:1 | AAA | Lc 87.5 | Fine for body text |
| #D7E6AF text on white | 1.32:1 | Fails | Lc 16.1 | Dividers and decoration only |
| #D7E6AF text on black | 15.82:1 | AAA | Lc -87.6 | 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
#F4F7ED
oklch(97.1% 0.014 120.3)
-
Step 100
100
#E7EDD9
oklch(93.6% 0.027 120.5)
-
Step 200
200 (this color)
#D7E6AF
oklch(90% 0.074 120.3)
-
Step 300
300
#B8CA84
oklch(80.9% 0.095 120.3)
-
Step 400
400
#94AE2C
oklch(70.7% 0.153 120.5)
-
Step 500
500
#7E9600
oklch(63.2% 0.151 120.4)
-
Step 600
600
#697E00
oklch(55.6% 0.133 120.6)
-
Step 700
700
#586A00
oklch(49.2% 0.117 120.6)
-
Step 800
800
#485600
oklch(42.6% 0.101 120)
-
Step 900
900
#3B4800
oklch(37.7% 0.09 120.7)
-
Step 950
950
#222B00
oklch(27.1% 0.065 121.1)
#D7E6AF 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) | #EDE0AC | 0.031 |
| Deuteranopia (no green cones) | #EBE0B1 | 0.031 |
| Tritanopia (no blue cones) | #DCE0D7 | 0.061 |
| Achromatopsia (no color) | #DFDFDF | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7E6AF
#D7E6AF
oklch(90% 0.074 120.3)
- #E4D6FF
#E4D6FF
oklch(90% 0.057 300.8)
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 #D7E6AF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Tea Green #CAE7B9 ΔE 0.019
- Lemon Meringue #EAE2B7 ΔE 0.031
- Pale Goldenrod #EEE8AA ΔE 0.032
- Light Sage #BCECAC ΔE 0.037
- Vanilla #E9D8A6 ΔE 0.039
- Light Khaki #E6F2A2 ΔE 0.045
- Wheat #F5DEB3 ΔE 0.046
- Light Grey Green #B7E1A1 ΔE 0.048
Use #D7E6AF 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.