#D7ED98
Closest named color: Light Khaki (#E6F2A2). oklch(91% 0.111 120.5), rgb(215, 237, 152).
Aa
Black text reads best on this color (16.45:1).
About this color
#D7ED98 is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.111 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.027 away. Black text reads best on it, at 16.45:1.
| Hue family | Yellows |
| Lightness | very light (91%) |
| Chroma | moderately saturated (0.111) |
| Temperature | in between |
| Nearest name | Light Khaki (#E6F2A2) |
| Black text | 16.45:1 |
| White text | 1.27:1 |
Values
| HEX | #D7ED98 |
| RGB | rgb(215, 237, 152) |
| HSL | hsl(76, 70%, 76%) |
| OKLCH | oklch(91% 0.111 120.5) |
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 #D7ED98 | 1.27:1 | Fails | Lc -15.8 | Dividers and decoration only |
| Black text on #D7ED98 | 16.45:1 | AAA | Lc 89.9 | Fine for body text |
| #D7ED98 text on white | 1.27:1 | Fails | Lc 13.7 | Not readable |
| #D7ED98 text on black | 16.45:1 | AAA | Lc -90.2 | Preferred 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
#F3F8EA
oklch(97.2% 0.019 122.8)
-
Step 100
100
#E6EFD0
oklch(93.7% 0.042 120.4)
-
Step 200
200 (this color)
#D7ED98
oklch(91% 0.111 120.5)
-
Step 300
300
#B4CE5D
oklch(80.9% 0.142 120.5)
-
Step 400
400
#93AF00
oklch(70.7% 0.169 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
#485700
oklch(42.9% 0.102 120.5)
-
Step 900
900
#3B4800
oklch(37.7% 0.09 120.7)
-
Step 950
950
#222B00
oklch(27.1% 0.065 121.1)
#D7ED98 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) | #F7E492 | 0.045 |
| Deuteranopia (no green cones) | #F4E49C | 0.045 |
| Tritanopia (no blue cones) | #DEE5D8 | 0.093 |
| Achromatopsia (no color) | #E4E4E4 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7ED98
#D7ED98
oklch(91% 0.111 120.5)
- #E6DAFF
#E6DAFF
oklch(90.9% 0.051 300.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 #D7ED98, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Khaki #E6F2A2 ΔE 0.027
- Khaki #F0E68C ΔE 0.034
- Washed Out Green #BCF5A6 ΔE 0.035
- Light Sage #BCECAC ΔE 0.038
- Pale Goldenrod #EEE8AA ΔE 0.044
- Light Light Green #C8FFB0 ΔE 0.046
- Very Pale Green #CFFDBC ΔE 0.048
- Light Gold #F3DE8A ΔE 0.048
Use #D7ED98 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.