#EBE791
Closest named color: Khaki (#F0E68C). oklch(91.2% 0.108 106), rgb(235, 231, 145).
Aa
Black text reads best on this color (16.37:1).
About this color
#EBE791 is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.108 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.008 away. Black text reads best on it, at 16.37:1.
| Hue family | Yellows |
| Lightness | very light (91%) |
| Chroma | moderately saturated (0.108) |
| Temperature | warm |
| Nearest name | Khaki (#F0E68C) |
| Black text | 16.37:1 |
| White text | 1.28:1 |
Values
| HEX | #EBE791 |
| RGB | rgb(235, 231, 145) |
| HSL | hsl(57, 69%, 75%) |
| OKLCH | oklch(91.2% 0.108 106) |
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 #EBE791 | 1.28:1 | Fails | Lc -16.1 | Dividers and decoration only |
| Black text on #EBE791 | 16.37:1 | AAA | Lc 89.6 | Fine for body text |
| #EBE791 text on white | 1.28:1 | Fails | Lc 14.0 | Not readable |
| #EBE791 text on black | 16.37:1 | AAA | Lc -89.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 100.
-
Step 50
50
#F7F6E8
oklch(97% 0.018 103.4)
-
Step 100
100 (this color)
#EBE791
oklch(91.2% 0.108 106)
-
Step 200
200
#DFDDA2
oklch(88.5% 0.077 106.2)
-
Step 300
300
#CCC650
oklch(80.9% 0.139 106.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
#696400
oklch(49.2% 0.105 106.3)
-
Step 800
800
#565100
oklch(42.6% 0.091 105.5)
-
Step 900
900
#474400
oklch(37.7% 0.081 106.8)
-
Step 950
950
#2A2800
oklch(27% 0.058 106.8)
#EBE791 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) | #F5E18B | 0.018 |
| Deuteranopia (no green cones) | #F7E595 | 0.019 |
| Tritanopia (no blue cones) | #F7DDD2 | 0.097 |
| Achromatopsia (no color) | #E3E3E3 | 0.108 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #EBE791
#EBE791
oklch(91.2% 0.108 106)
- #DFDEFF
#DFDEFF
oklch(91.2% 0.045 286.9)
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 #EBE791, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.008
- Light Gold #F3DE8A ΔE 0.023
- Light Khaki #E6F2A2 ΔE 0.028
- Pale Goldenrod #EEE8AA ΔE 0.030
- Sandy #F1DA7A ΔE 0.034
- Yellow Tan #FFE36E ΔE 0.039
- Pale Gold #FDDE6C ΔE 0.039
- Light Tan #FBEEAC ΔE 0.041
Use #EBE791 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.