#E8D27E
Closest named color: Sand (#E2CA76). oklch(86.4% 0.107 95.1), rgb(232, 210, 126).
Aa
Black text reads best on this color (13.95:1).
About this color
#E8D27E is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.107 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.023 away. Black text reads best on it, at 13.95:1.
| Hue family | Yellows |
| Lightness | light (86%) |
| Chroma | moderately saturated (0.107) |
| Temperature | warm |
| Nearest name | Sand (#E2CA76) |
| Black text | 13.95:1 |
| White text | 1.50:1 |
Values
| HEX | #E8D27E |
| RGB | rgb(232, 210, 126) |
| HSL | hsl(48, 70%, 70%) |
| OKLCH | oklch(86.4% 0.107 95.1) |
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 #E8D27E | 1.50:1 | Fails | Lc -26.7 | Dividers and decoration only |
| Black text on #E8D27E | 13.95:1 | AAA | Lc 80.2 | Fine for body text |
| #E8D27E text on white | 1.50:1 | Fails | Lc 23.6 | Dividers and decoration only |
| #E8D27E text on black | 13.95:1 | AAA | Lc -79.6 | 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
#F9F6E8
oklch(97.2% 0.019 96.9)
-
Step 100
100
#F2EACD
oklch(93.6% 0.039 94.3)
-
Step 200
200 (this color)
#E8D27E
oklch(86.4% 0.107 95.1)
-
Step 300
300
#DCBF4A
oklch(80.8% 0.137 95.1)
-
Step 400
400
#BD9E00
oklch(70.6% 0.145 94.9)
-
Step 500
500
#A28800
oklch(63.2% 0.13 95.4)
-
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
#4E4100
oklch(37.8% 0.078 96.2)
-
Step 950
950
#2F2600
oklch(27.1% 0.056 95.5)
#E8D27E 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) | #E2CE77 | 0.015 |
| Deuteranopia (no green cones) | #E8D681 | 0.010 |
| Tritanopia (no blue cones) | #F7C6BE | 0.099 |
| Achromatopsia (no color) | #D2D2D2 | 0.107 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E8D27E
#E8D27E
oklch(86.4% 0.107 95.1)
- #C5D0FF
#C5D0FF
oklch(86.5% 0.066 274.6)
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 #E8D27E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sand #E2CA76 ΔE 0.023
- Sandy #F1DA7A ΔE 0.027
- Saffron #E9C46A ΔE 0.035
- Light Gold #F3DE8A ΔE 0.036
- Light Mustard #F7D560 ΔE 0.037
- Sunglow #FFD166 ΔE 0.037
- Maize #F4D054 ΔE 0.038
- Vanilla #E9D8A6 ΔE 0.045
Use #E8D27E 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.