#ECCB66
Closest named color: Saffron (#E9C46A). oklch(85% 0.126 91.5), rgb(236, 203, 102).
Aa
Black text reads best on this color (13.30:1).
About this color
#ECCB66 is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.126 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Saffron (#E9C46A), ΔE 0.020 away. Black text reads best on it, at 13.30:1.
| Hue family | Yellows |
| Lightness | light (85%) |
| Chroma | moderately saturated (0.126) |
| Temperature | warm |
| Nearest name | Saffron (#E9C46A) |
| Black text | 13.30:1 |
| White text | 1.57:1 |
Values
| HEX | #ECCB66 |
| RGB | rgb(236, 203, 102) |
| HSL | hsl(45, 78%, 66%) |
| OKLCH | oklch(85% 0.126 91.5) |
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 #ECCB66 | 1.57:1 | Fails | Lc -29.7 | Dividers and decoration only |
| Black text on #ECCB66 | 13.30:1 | AAA | Lc 77.5 | Fine for body text |
| #ECCB66 text on white | 1.57:1 | Fails | Lc 26.2 | Dividers and decoration only |
| #ECCB66 text on black | 13.30:1 | AAA | Lc -76.8 | 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
#FBF5E6
oklch(97.1% 0.021 88.7)
-
Step 100
100
#F5E9C7
oklch(93.5% 0.046 90.9)
-
Step 200
200 (this color)
#ECCB66
oklch(85% 0.126 91.5)
-
Step 300
300
#E7BC16
oklch(81% 0.162 91.7)
-
Step 400
400
#C29C00
oklch(70.7% 0.145 91.2)
-
Step 500
500
#A68600
oklch(63.2% 0.129 91.9)
-
Step 600
600
#8C7000
oklch(55.6% 0.114 91.4)
-
Step 700
700
#765E00
oklch(49.2% 0.101 91.4)
-
Step 800
800
#614D00
oklch(42.9% 0.088 91.6)
-
Step 900
900
#513F00
oklch(37.6% 0.077 90.4)
-
Step 950
950
#302500
oklch(26.9% 0.055 91.9)
#ECCB66 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) | #DEC85C | 0.025 |
| Deuteranopia (no green cones) | #E6D26A | 0.018 |
| Tritanopia (no blue cones) | #FDBDB4 | 0.115 |
| Achromatopsia (no color) | #CECECE | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECCB66
#ECCB66
oklch(85% 0.126 91.5)
- #BCCCFF
#BCCCFF
oklch(85% 0.074 271.2)
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 #ECCB66, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Saffron #E9C46A ΔE 0.020
- Sand #E2CA76 ΔE 0.021
- Maize #F4D054 ΔE 0.025
- Light Mustard #F7D560 ΔE 0.033
- Sunglow #FFD166 ΔE 0.034
- Maximum Yellow Red #FCBF49 ΔE 0.035
- Sandy #F1DA7A ΔE 0.039
- Golden Yellow #FEC615 ΔE 0.047
Use #ECCB66 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.