#E4D397
Closest named color: Vanilla (#E9D8A6). oklch(86.7% 0.08 94.2), rgb(228, 211, 151).
Aa
Black text reads best on this color (14.06:1).
About this color
#E4D397 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.080 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.021 away. Black text reads best on it, at 14.06:1.
| Hue family | Yellows |
| Lightness | light (87%) |
| Chroma | moderately saturated (0.080) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 14.06:1 |
| White text | 1.49:1 |
Values
| HEX | #E4D397 |
| RGB | rgb(228, 211, 151) |
| HSL | hsl(47, 59%, 74%) |
| OKLCH | oklch(86.7% 0.08 94.2) |
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 #E4D397 | 1.49:1 | Fails | Lc -26.3 | Dividers and decoration only |
| Black text on #E4D397 | 14.06:1 | AAA | Lc 80.6 | Fine for body text |
| #E4D397 text on white | 1.49:1 | Fails | Lc 23.1 | Dividers and decoration only |
| #E4D397 text on black | 14.06:1 | AAA | Lc -80.1 | 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
#F8F5EB
oklch(97% 0.014 93)
-
Step 100
100
#F0EAD4
oklch(93.6% 0.03 94.4)
-
Step 200
200 (this color)
#E4D397
oklch(86.7% 0.08 94.2)
-
Step 300
300
#D6C071
oklch(80.9% 0.102 94.3)
-
Step 400
400
#BE9E00
oklch(70.7% 0.145 94.4)
-
Step 500
500
#A38700
oklch(63.1% 0.129 94.2)
-
Step 600
600
#897100
oklch(55.5% 0.114 94.1)
-
Step 700
700
#735F00
oklch(49.1% 0.101 94.6)
-
Step 800
800
#5F4D00
oklch(42.6% 0.087 93.4)
-
Step 900
900
#4F4000
oklch(37.6% 0.077 93.9)
-
Step 950
950
#2F2600
oklch(27.1% 0.056 95.5)
#E4D397 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) | #DFD093 | 0.011 |
| Deuteranopia (no green cones) | #E4D699 | 0.007 |
| Tritanopia (no blue cones) | #F0CAC3 | 0.072 |
| Achromatopsia (no color) | #D3D3D3 | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E4D397
#E4D397
oklch(86.7% 0.08 94.2)
- #C5D1FF
#C5D1FF
oklch(86.7% 0.065 273.5)
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 #E4D397, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.021
- Sand #E2CA76 ΔE 0.038
- Pale Oak #DBCFB0 ΔE 0.038
- Light Gold #F3DE8A ΔE 0.043
- Sandy #F1DA7A ΔE 0.045
- Lemon Meringue #EAE2B7 ΔE 0.048
- Wheat #F5DEB3 ΔE 0.048
- Saffron #E9C46A ΔE 0.051
Use #E4D397 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.