#ECEC9D
Closest named color: Light Khaki (#E6F2A2). oklch(92.5% 0.1 108.2), rgb(236, 236, 157).
Aa
Black text reads best on this color (17.05:1).
About this color
#ECEC9D is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.100 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.016 away. Black text reads best on it, at 17.05:1.
| Hue family | Yellows |
| Lightness | very light (93%) |
| Chroma | moderately saturated (0.100) |
| Temperature | warm |
| Nearest name | Light Khaki (#E6F2A2) |
| Black text | 17.05:1 |
| White text | 1.23:1 |
Values
| HEX | #ECEC9D |
| RGB | rgb(236, 236, 157) |
| HSL | hsl(60, 68%, 77%) |
| OKLCH | oklch(92.5% 0.1 108.2) |
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 #ECEC9D | 1.23:1 | Fails | Lc -13.3 | Not readable |
| Black text on #ECEC9D | 17.05:1 | AAA | Lc 92.2 | Preferred for body text |
| #ECEC9D text on white | 1.23:1 | Fails | Lc 11.4 | Not readable |
| #ECEC9D text on black | 17.05:1 | AAA | Lc -92.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
#F6F7EA
oklch(97.2% 0.017 110.3)
-
Step 100
100 (this color)
#ECEC9D
oklch(92.5% 0.1 108.2)
-
Step 200
200
#DDDDA7
oklch(88.4% 0.071 107.8)
-
Step 300
300
#C8C75D
oklch(80.9% 0.129 108.5)
-
Step 400
400
#AAA700
oklch(70.8% 0.153 108.5)
-
Step 500
500
#928F00
oklch(63.2% 0.136 108.3)
-
Step 600
600
#7A7800
oklch(55.6% 0.12 108.6)
-
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)
#ECEC9D 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) | #F8E697 | 0.020 |
| Deuteranopia (no green cones) | #FAE9A0 | 0.021 |
| Tritanopia (no blue cones) | #F7E3D8 | 0.088 |
| Achromatopsia (no color) | #E7E7E7 | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECEC9D
#ECEC9D
oklch(92.5% 0.1 108.2)
- #E4E3FF
#E4E3FF
oklch(92.5% 0.038 287.3)
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 #ECEC9D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Khaki #E6F2A2 ΔE 0.016
- Khaki #F0E68C ΔE 0.020
- Pale Goldenrod #EEE8AA ΔE 0.022
- Light Tan #FBEEAC ΔE 0.029
- Dark Cream #FFF39A ΔE 0.033
- Light Gold #F3DE8A ΔE 0.035
- Buff #FEF69E ΔE 0.037
- Pale Peach #FFE5AD ΔE 0.041
Use #ECEC9D 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.