#E4DC97
Closest named color: Vanilla (#E9D8A6). oklch(88.5% 0.089 102.4), rgb(228, 220, 151).
Aa
Black text reads best on this color (14.98:1).
About this color
#E4DC97 is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.089 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.026 away. Black text reads best on it, at 14.98:1.
| Hue family | Yellows |
| Lightness | light (88%) |
| Chroma | moderately saturated (0.089) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 14.98:1 |
| White text | 1.40:1 |
Values
| HEX | #E4DC97 |
| RGB | rgb(228, 220, 151) |
| HSL | hsl(54, 59%, 74%) |
| OKLCH | oklch(88.5% 0.089 102.4) |
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 #E4DC97 | 1.40:1 | Fails | Lc -22.2 | Dividers and decoration only |
| Black text on #E4DC97 | 14.98:1 | AAA | Lc 84.3 | Fine for body text |
| #E4DC97 text on white | 1.40:1 | Fails | Lc 19.4 | Dividers and decoration only |
| #E4DC97 text on black | 14.98:1 | AAA | Lc -84.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
#F7F6EB
oklch(97.1% 0.015 102.5)
-
Step 100
100
#EEEBD2
oklch(93.6% 0.033 101.4)
-
Step 200
200 (this color)
#E4DC97
oklch(88.5% 0.089 102.4)
-
Step 300
300
#CFC468
oklch(81% 0.115 102.5)
-
Step 400
400
#B3A300
oklch(70.7% 0.148 102.4)
-
Step 500
500
#998B00
oklch(62.9% 0.132 102.3)
-
Step 600
600
#817500
oklch(55.6% 0.117 102.3)
-
Step 700
700
#6C6200
oklch(49% 0.103 102.5)
-
Step 800
800
#595000
oklch(42.7% 0.089 102)
-
Step 900
900
#4A4300
oklch(37.8% 0.079 102.7)
-
Step 950
950
#2C2700
oklch(27% 0.057 102.1)
#E4DC97 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) | #E8D792 | 0.013 |
| Deuteranopia (no green cones) | #EBDC9A | 0.011 |
| Tritanopia (no blue cones) | #EFD3CA | 0.080 |
| Achromatopsia (no color) | #DADADA | 0.089 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E4DC97
#E4DC97
oklch(88.5% 0.089 102.4)
- #D3D5FF
#D3D5FF
oklch(88.5% 0.058 283)
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 #E4DC97, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.026
- Light Gold #F3DE8A ΔE 0.026
- Sandy #F1DA7A ΔE 0.033
- Khaki #F0E68C ΔE 0.037
- Pale Goldenrod #EEE8AA ΔE 0.037
- Lemon Meringue #EAE2B7 ΔE 0.040
- Wheat #F5DEB3 ΔE 0.044
- Tea Green #CAE7B9 ΔE 0.048
Use #E4DC97 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.