#D7E98D
Closest named color: Khaki (#F0E68C). oklch(90% 0.118 117.9), rgb(215, 233, 141).
Aa
Black text reads best on this color (15.92:1).
About this color
#D7E98D is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.118 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.033 away. Black text reads best on it, at 15.92:1.
| Hue family | Yellows |
| Lightness | very light (90%) |
| Chroma | moderately saturated (0.118) |
| Temperature | in between |
| Nearest name | Khaki (#F0E68C) |
| Black text | 15.92:1 |
| White text | 1.31:1 |
Values
| HEX | #D7E98D |
| RGB | rgb(215, 233, 141) |
| HSL | hsl(72, 68%, 73%) |
| OKLCH | oklch(90% 0.118 117.9) |
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 #D7E98D | 1.31:1 | Fails | Lc -18.0 | Dividers and decoration only |
| Black text on #D7E98D | 15.92:1 | AAA | Lc 88.0 | Fine for body text |
| #D7E98D text on white | 1.31:1 | Fails | Lc 15.7 | Dividers and decoration only |
| #D7E98D text on black | 15.92:1 | AAA | Lc -88.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
#F4F8E8
oklch(97.2% 0.021 118.2)
-
Step 100
100
#E7EECE
oklch(93.5% 0.043 117.3)
-
Step 200
200 (this color)
#D7E98D
oklch(90% 0.118 117.9)
-
Step 300
300
#B8CD50
oklch(80.8% 0.151 118)
-
Step 400
400
#99AD00
oklch(70.7% 0.164 117.7)
-
Step 500
500
#839400
oklch(63.1% 0.146 117.6)
-
Step 600
600
#6D7D00
oklch(55.7% 0.13 118.3)
-
Step 700
700
#5C6900
oklch(49.2% 0.114 117.9)
-
Step 800
800
#4B5600
oklch(42.8% 0.1 117.9)
-
Step 900
900
#3E4700
oklch(37.7% 0.087 117.6)
-
Step 950
950
#242A00
oklch(27% 0.063 117.7)
#D7E98D 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) | #F4E086 | 0.042 |
| Deuteranopia (no green cones) | #F2E191 | 0.042 |
| Tritanopia (no blue cones) | #E0E0D2 | 0.100 |
| Achromatopsia (no color) | #E0E0E0 | 0.118 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7E98D
#D7E98D
oklch(90% 0.118 117.9)
- #E2D7FF
#E2D7FF
oklch(90% 0.055 297.9)
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 #D7E98D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.033
- Light Khaki #E6F2A2 ΔE 0.037
- Washed Out Green #BCF5A6 ΔE 0.042
- Light Sage #BCECAC ΔE 0.043
- Light Gold #F3DE8A ΔE 0.044
- Sandy #F1DA7A ΔE 0.046
- Pale Goldenrod #EEE8AA ΔE 0.050
- Dull Yellow #EEDC5B ΔE 0.051
Use #D7E98D 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.