#ECEFA2
Closest named color: Light Khaki (#E6F2A2). oklch(93.2% 0.098 110), rgb(236, 239, 162).
Aa
Black text reads best on this color (17.43:1).
About this color
#ECEFA2 is a very light, moderately saturated yellow. In OKLCH its lightness is 93%, its chroma 0.098 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Khaki (#E6F2A2), ΔE 0.011 away. Black text reads best on it, at 17.43:1.
| Hue family | Yellows |
| Lightness | very light (93%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Light Khaki (#E6F2A2) |
| Black text | 17.43:1 |
| White text | 1.20:1 |
Values
| HEX | #ECEFA2 |
| RGB | rgb(236, 239, 162) |
| HSL | hsl(62, 71%, 79%) |
| OKLCH | oklch(93.2% 0.098 110) |
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 #ECEFA2 | 1.20:1 | Fails | Lc -11.6 | Not readable |
| Black text on #ECEFA2 | 17.43:1 | AAA | Lc 93.6 | Preferred for body text |
| #ECEFA2 text on white | 1.20:1 | Fails | Lc 10.0 | Not readable |
| #ECEFA2 text on black | 17.43:1 | AAA | Lc -94.2 | 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)
#ECEFA2
oklch(93.2% 0.098 110)
-
Step 200
200
#DBDEA9
oklch(88.5% 0.07 110.4)
-
Step 300
300
#C5C862
oklch(80.9% 0.126 110.4)
-
Step 400
400
#A7A800
oklch(70.7% 0.155 110.2)
-
Step 500
500
#8F9000
oklch(63.2% 0.138 110.3)
-
Step 600
600
#787900
oklch(55.7% 0.122 110.4)
-
Step 700
700
#656500
oklch(49.1% 0.107 109.8)
-
Step 800
800
#525300
oklch(42.7% 0.094 110.6)
-
Step 900
900
#454500
oklch(37.8% 0.082 109.8)
-
Step 950
950
#282900
oklch(27.1% 0.06 111.2)
#ECEFA2 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) | #FBE89D | 0.025 |
| Deuteranopia (no green cones) | #FBEBA5 | 0.023 |
| Tritanopia (no blue cones) | #F6E6DB | 0.086 |
| Achromatopsia (no color) | #EAEAEA | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECEFA2
#ECEFA2
oklch(93.2% 0.098 110)
- #E8E5FF
#E8E5FF
oklch(93.2% 0.035 291)
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 #ECEFA2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Khaki #E6F2A2 ΔE 0.011
- Pale Goldenrod #EEE8AA ΔE 0.024
- Light Tan #FBEEAC ΔE 0.025
- Khaki #F0E68C ΔE 0.027
- Dark Cream #FFF39A ΔE 0.030
- Buff #FEF69E ΔE 0.032
- Pale Peach #FFE5AD ΔE 0.042
- Light Gold #F3DE8A ΔE 0.042
Use #ECEFA2 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.