#ECAF28
Closest named color: Squash (#F2AB15). oklch(79.1% 0.153 81.4), rgb(236, 175, 40).
Aa
Black text reads best on this color (10.72:1).
About this color
#ECAF28 is a light, vivid orange. In OKLCH its lightness is 79%, its chroma 0.153 and its hue 81°. Its hue sits on the warm side of the wheel. The nearest named color is Squash (#F2AB15), ΔE 0.012 away. Black text reads best on it, at 10.72:1.
| Hue family | Oranges |
| Lightness | light (79%) |
| Chroma | vivid (0.153) |
| Temperature | warm |
| Nearest name | Squash (#F2AB15) |
| Black text | 10.72:1 |
| White text | 1.95:1 |
Values
| HEX | #ECAF28 |
| RGB | rgb(236, 175, 40) |
| HSL | hsl(41, 84%, 54%) |
| OKLCH | oklch(79.1% 0.153 81.4) |
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 #ECAF28 | 1.95:1 | Fails | Lc -41.8 | Non-text elements, placeholder text |
| Black text on #ECAF28 | 10.72:1 | AAA | Lc 66.5 | Content text, not long reading |
| #ECAF28 text on white | 1.95:1 | Fails | Lc 37.4 | Non-text elements, placeholder text |
| #ECAF28 text on black | 10.72:1 | AAA | Lc -65.0 | Content text, not long reading |
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 300.
-
Step 50
50
#FDF4E6
oklch(97% 0.021 79.1)
-
Step 100
100
#F9E8C9
oklch(93.7% 0.045 82.6)
-
Step 200
200
#F6D498
oklch(88.5% 0.086 81.4)
-
Step 300
300 (this color)
#ECAF28
oklch(79.1% 0.153 81.4)
-
Step 400
400
#CE9500
oklch(70.6% 0.146 81.2)
-
Step 500
500
#B18000
oklch(63.2% 0.13 81.5)
-
Step 600
600
#956B00
oklch(55.6% 0.115 81.4)
-
Step 700
700
#7D5A00
oklch(49.1% 0.101 82.2)
-
Step 800
800
#674900
oklch(42.7% 0.088 81.6)
-
Step 900
900
#563C00
oklch(37.6% 0.078 81.1)
-
Step 950
950
#342300
oklch(27% 0.056 81.4)
#ECAF28 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) | #C8B000 | 0.060 |
| Deuteranopia (no green cones) | #D6C030 | 0.051 |
| Tritanopia (no blue cones) | #FF9D96 | 0.133 |
| Achromatopsia (no color) | #B9B9B9 | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECAF28
#ECAF28
oklch(79.1% 0.153 81.4)
- #95BBFF
#95BBFF
oklch(79% 0.106 261.7)
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 #ECAF28, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Squash #F2AB15 ΔE 0.012
- Macaroni And Cheese #EFB435 ΔE 0.014
- Yellow Orange #FCB001 ΔE 0.026
- Orange Yellow #FFAD01 ΔE 0.030
- Orange #FFA500 ΔE 0.035
- Butterscotch #FDB147 ΔE 0.036
- Mango #FFA62B ΔE 0.037
- Orangey Yellow #FDB915 ΔE 0.039
Use #ECAF28 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.