#E3D397
Closest named color: Vanilla (#E9D8A6). oklch(86.6% 0.079 95), rgb(227, 211, 151).
Aa
Black text reads best on this color (14.03:1).
About this color
#E3D397 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.079 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.022 away. Black text reads best on it, at 14.03:1.
| Hue family | Yellows |
| Lightness | light (87%) |
| Chroma | moderately saturated (0.079) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 14.03:1 |
| White text | 1.49:1 |
Values
| HEX | #E3D397 |
| RGB | rgb(227, 211, 151) |
| HSL | hsl(47, 58%, 74%) |
| OKLCH | oklch(86.6% 0.079 95) |
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 #E3D397 | 1.49:1 | Fails | Lc -26.4 | Dividers and decoration only |
| Black text on #E3D397 | 14.03:1 | AAA | Lc 80.5 | Fine for body text |
| #E3D397 text on white | 1.49:1 | Fails | Lc 23.3 | Dividers and decoration only |
| #E3D397 text on black | 14.03:1 | AAA | Lc -79.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
#F8F6EB
oklch(97.2% 0.015 98.3)
-
Step 100
100
#F0EAD4
oklch(93.6% 0.03 94.4)
-
Step 200
200 (this color)
#E3D397
oklch(86.6% 0.079 95)
-
Step 300
300
#D5C071
oklch(80.8% 0.102 94.9)
-
Step 400
400
#BD9E00
oklch(70.6% 0.145 94.9)
-
Step 500
500
#A28700
oklch(63% 0.129 94.8)
-
Step 600
600
#887200
oklch(55.6% 0.114 95.6)
-
Step 700
700
#735F00
oklch(49.1% 0.101 94.6)
-
Step 800
800
#5E4E00
oklch(42.8% 0.088 95.4)
-
Step 900
900
#4F4000
oklch(37.6% 0.077 93.9)
-
Step 950
950
#2F2600
oklch(27.1% 0.056 95.5)
#E3D397 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.010 |
| Deuteranopia (no green cones) | #E4D599 | 0.005 |
| Tritanopia (no blue cones) | #EFCAC3 | 0.072 |
| Achromatopsia (no color) | #D3D3D3 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E3D397
#E3D397
oklch(86.6% 0.079 95)
- #C6D0FF
#C6D0FF
oklch(86.6% 0.066 275.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 #E3D397, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.022
- Sand #E2CA76 ΔE 0.037
- 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.049
- Saffron #E9C46A ΔE 0.051
Use #E3D397 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.