#D9E789
Closest named color: Khaki (#F0E68C). oklch(89.7% 0.119 115.8), rgb(217, 231, 137).
Aa
Black text reads best on this color (15.74:1).
About this color
#D9E789 is a light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.119 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.032 away. Black text reads best on it, at 15.74:1.
| Hue family | Yellows |
| Lightness | light (90%) |
| Chroma | moderately saturated (0.119) |
| Temperature | in between |
| Nearest name | Khaki (#F0E68C) |
| Black text | 15.74:1 |
| White text | 1.33:1 |
Values
| HEX | #D9E789 |
| RGB | rgb(217, 231, 137) |
| HSL | hsl(69, 66%, 72%) |
| OKLCH | oklch(89.7% 0.119 115.8) |
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 #D9E789 | 1.33:1 | Fails | Lc -18.8 | Dividers and decoration only |
| Black text on #D9E789 | 15.74:1 | AAA | Lc 87.2 | Fine for body text |
| #D9E789 text on white | 1.33:1 | Fails | Lc 16.4 | Dividers and decoration only |
| #D9E789 text on black | 15.74:1 | AAA | Lc -87.3 | 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
#F4F7E8
oklch(97% 0.02 116)
-
Step 100
100
#E8EECD
oklch(93.6% 0.044 115.6)
-
Step 200
200 (this color)
#D9E789
oklch(89.7% 0.119 115.8)
-
Step 300
300
#BCCC4A
oklch(80.8% 0.153 115.9)
-
Step 400
400
#9DAC00
oklch(70.8% 0.162 115.9)
-
Step 500
500
#869300
oklch(63.1% 0.144 115.9)
-
Step 600
600
#707B00
oklch(55.5% 0.127 115.8)
-
Step 700
700
#5E6800
oklch(49.2% 0.113 116.2)
-
Step 800
800
#4D5500
oklch(42.8% 0.098 115.9)
-
Step 900
900
#404700
oklch(37.8% 0.086 116)
-
Step 950
950
#252A00
oklch(27.1% 0.062 116.5)
#D9E789 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) | #F3DE82 | 0.039 |
| Deuteranopia (no green cones) | #F2E08E | 0.039 |
| Tritanopia (no blue cones) | #E3DDD0 | 0.103 |
| Achromatopsia (no color) | #DFDFDF | 0.119 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D9E789
#D9E789
oklch(89.7% 0.119 115.8)
- #E0D6FF
#E0D6FF
oklch(89.7% 0.057 296.4)
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 #D9E789, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.032
- Light Khaki #E6F2A2 ΔE 0.041
- Light Gold #F3DE8A ΔE 0.041
- Sandy #F1DA7A ΔE 0.042
- Dull Yellow #EEDC5B ΔE 0.046
- Light Sage #BCECAC ΔE 0.047
- Washed Out Green #BCF5A6 ΔE 0.047
- Pale Goldenrod #EEE8AA ΔE 0.051
Use #D9E789 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.