#ECE7A7
Closest named color: Pale Goldenrod (#EEE8AA). oklch(91.7% 0.082 104.1), rgb(236, 231, 167).
Aa
Black text reads best on this color (16.55:1).
About this color
#ECE7A7 is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.082 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Goldenrod (#EEE8AA), ΔE 0.005 away. Black text reads best on it, at 16.55:1.
| Hue family | Yellows |
| Lightness | very light (92%) |
| Chroma | moderately saturated (0.082) |
| Temperature | warm |
| Nearest name | Pale Goldenrod (#EEE8AA) |
| Black text | 16.55:1 |
| White text | 1.26:1 |
Values
| HEX | #ECE7A7 |
| RGB | rgb(236, 231, 167) |
| HSL | hsl(56, 64%, 79%) |
| OKLCH | oklch(91.7% 0.082 104.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 #ECE7A7 | 1.26:1 | Fails | Lc -15.4 | Dividers and decoration only |
| Black text on #ECE7A7 | 16.55:1 | AAA | Lc 90.3 | Preferred for body text |
| #ECE7A7 text on white | 1.26:1 | Fails | Lc 13.3 | Not readable |
| #ECE7A7 text on black | 16.55:1 | AAA | Lc -90.6 | Preferred 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
#F7F6EB
oklch(97.1% 0.015 102.5)
-
Step 100
100 (this color)
#ECE7A7
oklch(91.7% 0.082 104.1)
-
Step 200
200
#DFDCAF
oklch(88.6% 0.059 104.4)
-
Step 300
300
#CCC471
oklch(80.9% 0.105 103.6)
-
Step 400
400
#B0A400
oklch(70.6% 0.149 104.3)
-
Step 500
500
#978C00
oklch(63% 0.133 104)
-
Step 600
600
#7F7600
oklch(55.6% 0.118 104.3)
-
Step 700
700
#6B6300
oklch(49.2% 0.104 104)
-
Step 800
800
#575100
oklch(42.7% 0.09 104.7)
-
Step 900
900
#494300
oklch(37.7% 0.08 103.8)
-
Step 950
950
#2B2700
oklch(26.9% 0.057 103.7)
#ECE7A7 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) | #F2E2A3 | 0.014 |
| Deuteranopia (no green cones) | #F4E6A9 | 0.012 |
| Tritanopia (no blue cones) | #F6DFD6 | 0.073 |
| Achromatopsia (no color) | #E4E4E4 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECE7A7
#ECE7A7
oklch(91.7% 0.082 104.1)
- #E0E0FF
#E0E0FF
oklch(91.6% 0.042 285.5)
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 #ECE7A7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Goldenrod #EEE8AA ΔE 0.005
- Lemon Meringue #EAE2B7 ΔE 0.027
- Light Tan #FBEEAC ΔE 0.029
- Pale Peach #FFE5AD ΔE 0.029
- Khaki #F0E68C ΔE 0.030
- Light Khaki #E6F2A2 ΔE 0.032
- Light Gold #F3DE8A ΔE 0.033
- Wheat #F5DEB3 ΔE 0.034
Use #ECE7A7 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.