#E7E57B
Closest named color: Khaki (#F0E68C). oklch(90.2% 0.129 107.8), rgb(231, 229, 123).
Aa
Black text reads best on this color (15.89:1).
About this color
#E7E57B is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.129 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.023 away. Black text reads best on it, at 15.89:1.
| Hue family | Yellows |
| Lightness | very light (90%) |
| Chroma | moderately saturated (0.129) |
| Temperature | warm |
| Nearest name | Khaki (#F0E68C) |
| Black text | 15.89:1 |
| White text | 1.32:1 |
Values
| HEX | #E7E57B |
| RGB | rgb(231, 229, 123) |
| HSL | hsl(59, 69%, 69%) |
| OKLCH | oklch(90.2% 0.129 107.8) |
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 #E7E57B | 1.32:1 | Fails | Lc -18.2 | Dividers and decoration only |
| Black text on #E7E57B | 15.89:1 | AAA | Lc 87.8 | Fine for body text |
| #E7E57B text on white | 1.32:1 | Fails | Lc 15.8 | Dividers and decoration only |
| #E7E57B text on black | 15.89:1 | AAA | Lc -87.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
#F7F7E6
oklch(97.2% 0.022 106.8)
-
Step 100
100
#ECEDC8
oklch(93.6% 0.049 108.6)
-
Step 200
200 (this color)
#E7E57B
oklch(90.2% 0.129 107.8)
-
Step 300
300
#CCC725
oklch(80.8% 0.166 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)
#E7E57B 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) | #F4DE72 | 0.023 |
| Deuteranopia (no green cones) | #F6E280 | 0.024 |
| Tritanopia (no blue cones) | #F4D9CC | 0.116 |
| Achromatopsia (no color) | #E0E0E0 | 0.129 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E7E57B
#E7E57B
oklch(90.2% 0.129 107.8)
- #DCDAFF
#DCDAFF
oklch(90.2% 0.05 287.8)
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 #E7E57B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Khaki #F0E68C ΔE 0.023
- Dull Yellow #EEDC5B ΔE 0.030
- Sandy #F1DA7A ΔE 0.030
- Sand Yellow #FCE166 ΔE 0.031
- Pale Gold #FDDE6C ΔE 0.032
- Yellow Tan #FFE36E ΔE 0.033
- Light Gold #F3DE8A ΔE 0.033
- Sandy Yellow #FDEE73 ΔE 0.041
Use #E7E57B 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.