#D8EC98
Closest named color: Light Khaki (#E6F2A2). oklch(90.9% 0.109 119.5), rgb(216, 236, 152).
Aa
Black text reads best on this color (16.37:1).
About this color
#D8EC98 is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.109 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.37:1.
| Hue family | Yellows |
| Lightness | very light (91%) |
| Chroma | moderately saturated (0.109) |
| Temperature | in between |
| Nearest name | Light Khaki (#E6F2A2) |
| Black text | 16.37:1 |
| White text | 1.28:1 |
Values
| HEX | #D8EC98 |
| RGB | rgb(216, 236, 152) |
| HSL | hsl(74, 69%, 76%) |
| OKLCH | oklch(90.9% 0.109 119.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 #D8EC98 | 1.28:1 | Fails | Lc -16.1 | Dividers and decoration only |
| Black text on #D8EC98 | 16.37:1 | AAA | Lc 89.6 | Fine for body text |
| #D8EC98 text on white | 1.28:1 | Fails | Lc 14.0 | Not readable |
| #D8EC98 text on black | 16.37:1 | AAA | Lc -89.9 | 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
#F4F8EA
oklch(97.2% 0.019 119.7)
-
Step 100
100
#E6EED0
oklch(93.5% 0.041 119.3)
-
Step 200
200 (this color)
#D8EC98
oklch(90.9% 0.109 119.5)
-
Step 300
300
#B6CD5D
oklch(80.8% 0.141 119.3)
-
Step 400
400
#95AE00
oklch(70.7% 0.167 119.5)
-
Step 500
500
#7F9500
oklch(63% 0.149 119.6)
-
Step 600
600
#6B7D00
oklch(55.5% 0.131 119.3)
-
Step 700
700
#596900
oklch(49% 0.116 119.6)
-
Step 800
800
#495600
oklch(42.7% 0.101 119.3)
-
Step 900
900
#3C4800
oklch(37.7% 0.09 119.9)
-
Step 950
950
#232A00
oklch(26.9% 0.063 118.9)
#D8EC98 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) | #F6E392 | 0.043 |
| Deuteranopia (no green cones) | #F4E39C | 0.044 |
| Tritanopia (no blue cones) | #DFE4D7 | 0.091 |
| Achromatopsia (no color) | #E3E3E3 | 0.110 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D8EC98
#D8EC98
oklch(90.9% 0.109 119.5)
- #E5DAFF
#E5DAFF
oklch(90.9% 0.051 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 #D8EC98, 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.033
- Washed Out Green #BCF5A6 ΔE 0.037
- Light Sage #BCECAC ΔE 0.038
- Pale Goldenrod #EEE8AA ΔE 0.042
- Light Gold #F3DE8A ΔE 0.046
- Tea Green #CAE7B9 ΔE 0.048
- Light Light Green #C8FFB0 ΔE 0.049
Use #D8EC98 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.