#E8E793
Closest named color: Khaki (#F0E68C). oklch(91% 0.106 107.7), rgb(232, 231, 147).
Aa
Black text reads best on this color (16.28:1).
About this color
#E8E793 is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.106 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.012 away. Black text reads best on it, at 16.28:1.
| Hue family | Yellows |
| Lightness | very light (91%) |
| Chroma | moderately saturated (0.106) |
| Temperature | warm |
| Nearest name | Khaki (#F0E68C) |
| Black text | 16.28:1 |
| White text | 1.28:1 |
Values
| HEX | #E8E793 |
| RGB | rgb(232, 231, 147) |
| HSL | hsl(59, 65%, 74%) |
| OKLCH | oklch(91% 0.106 107.7) |
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 #E8E793 | 1.28:1 | Fails | Lc -16.5 | Dividers and decoration only |
| Black text on #E8E793 | 16.28:1 | AAA | Lc 89.3 | Fine for body text |
| #E8E793 text on white | 1.28:1 | Fails | Lc 14.3 | Not readable |
| #E8E793 text on black | 16.28:1 | AAA | Lc -89.5 | 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
#F6F7E9
oklch(97.2% 0.018 110.1)
-
Step 100
100
#ECECCF
oklch(93.6% 0.038 107.1)
-
Step 200
200 (this color)
#E8E793
oklch(91% 0.106 107.7)
-
Step 300
300
#CAC755
oklch(81% 0.136 107.7)
-
Step 400
400
#ABA600
oklch(70.6% 0.152 107.6)
-
Step 500
500
#928E00
oklch(63% 0.136 107.7)
-
Step 600
600
#7B7800
oklch(55.7% 0.12 108)
-
Step 700
700
#676400
oklch(49% 0.105 107.7)
-
Step 800
800
#545200
oklch(42.7% 0.092 108.1)
-
Step 900
900
#464400
oklch(37.6% 0.081 107.8)
-
Step 950
950
#292800
oklch(26.9% 0.058 108.3)
#E8E793 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) | #F4E18D | 0.020 |
| Deuteranopia (no green cones) | #F6E497 | 0.022 |
| Tritanopia (no blue cones) | #F3DDD2 | 0.094 |
| Achromatopsia (no color) | #E2E2E2 | 0.106 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E8E793
#E8E793
oklch(91% 0.106 107.7)
- #DFDDFF
#DFDDFF
oklch(91% 0.046 288.1)
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 #E8E793, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.012
- Light Gold #F3DE8A ΔE 0.025
- Light Khaki #E6F2A2 ΔE 0.028
- Pale Goldenrod #EEE8AA ΔE 0.029
- Sandy #F1DA7A ΔE 0.035
- Yellow Tan #FFE36E ΔE 0.042
- Pale Gold #FDDE6C ΔE 0.043
- Light Tan #FBEEAC ΔE 0.043
Use #E8E793 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.