#E2DFA1
Closest named color: Vanilla (#E9D8A6). oklch(89.1% 0.08 105.6), rgb(226, 223, 161).
Aa
Black text reads best on this color (15.30:1).
About this color
#E2DFA1 is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.080 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.023 away. Black text reads best on it, at 15.30:1.
| Hue family | Yellows |
| Lightness | light (89%) |
| Chroma | moderately saturated (0.080) |
| Temperature | warm |
| Nearest name | Vanilla (#E9D8A6) |
| Black text | 15.30:1 |
| White text | 1.37:1 |
Values
| HEX | #E2DFA1 |
| RGB | rgb(226, 223, 161) |
| HSL | hsl(57, 53%, 76%) |
| OKLCH | oklch(89.1% 0.08 105.6) |
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 #E2DFA1 | 1.37:1 | Fails | Lc -20.8 | Dividers and decoration only |
| Black text on #E2DFA1 | 15.30:1 | AAA | Lc 85.5 | Fine for body text |
| #E2DFA1 text on white | 1.37:1 | Fails | Lc 18.2 | Dividers and decoration only |
| #E2DFA1 text on black | 15.30:1 | AAA | Lc -85.4 | 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
#F6F6EC
oklch(97% 0.013 106.6)
-
Step 100
100
#ECEBD5
oklch(93.5% 0.029 104.8)
-
Step 200
200 (this color)
#E2DFA1
oklch(89.1% 0.08 105.6)
-
Step 300
300
#CAC574
oklch(81% 0.103 105.4)
-
Step 400
400
#AEA500
oklch(70.7% 0.151 105.7)
-
Step 500
500
#958D00
oklch(63% 0.134 105.6)
-
Step 600
600
#7D7700
oklch(55.7% 0.119 106.2)
-
Step 700
700
#696300
oklch(49% 0.104 105.5)
-
Step 800
800
#565100
oklch(42.6% 0.091 105.5)
-
Step 900
900
#484400
oklch(37.8% 0.081 105.9)
-
Step 950
950
#2B2800
oklch(27.1% 0.058 105.3)
#E2DFA1 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) | #EADA9D | 0.015 |
| Deuteranopia (no green cones) | #EBDDA3 | 0.014 |
| Tritanopia (no blue cones) | #EBD7CF | 0.072 |
| Achromatopsia (no color) | #DCDCDC | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E2DFA1
#E2DFA1
oklch(89.1% 0.08 105.6)
- #D7D7FF
#D7D7FF
oklch(89.2% 0.055 285.2)
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 #E2DFA1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vanilla #E9D8A6 ΔE 0.023
- Pale Goldenrod #EEE8AA ΔE 0.030
- Lemon Meringue #EAE2B7 ΔE 0.030
- Light Gold #F3DE8A ΔE 0.032
- Wheat #F5DEB3 ΔE 0.038
- Tea Green #CAE7B9 ΔE 0.038
- Khaki #F0E68C ΔE 0.039
- Sandy #F1DA7A ΔE 0.042
Use #E2DFA1 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.