#ECB252
Closest named color: Macaroni And Cheese (#EFB435). oklch(79.9% 0.131 77.5), rgb(236, 178, 82).
Aa
Black text reads best on this color (11.05:1).
About this color
#ECB252 is a light, moderately saturated orange. In OKLCH its lightness is 80%, its chroma 0.131 and its hue 77°. Its hue sits on the warm side of the wheel. The nearest named color is Macaroni And Cheese (#EFB435), ΔE 0.023 away. Black text reads best on it, at 11.05:1.
| Hue family | Oranges |
| Lightness | light (80%) |
| Chroma | moderately saturated (0.131) |
| Temperature | warm |
| Nearest name | Macaroni And Cheese (#EFB435) |
| Black text | 11.05:1 |
| White text | 1.89:1 |
Values
| HEX | #ECB252 |
| RGB | rgb(236, 178, 82) |
| HSL | hsl(37, 80%, 62%) |
| OKLCH | oklch(79.9% 0.131 77.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 #ECB252 | 1.89:1 | Fails | Lc -40.3 | Non-text elements, placeholder text |
| Black text on #ECB252 | 11.05:1 | AAA | Lc 67.9 | Content text, not long reading |
| #ECB252 text on white | 1.89:1 | Fails | Lc 36.0 | Non-text elements, placeholder text |
| #ECB252 text on black | 11.05:1 | AAA | Lc -66.5 | 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
#FCF4E9
oklch(97% 0.017 76.1)
-
Step 100
100
#F8E7CE
oklch(93.5% 0.038 77.6)
-
Step 200
200
#F4D4A3
oklch(88.5% 0.073 78.2)
-
Step 300
300 (this color)
#ECB252
oklch(79.9% 0.131 77.5)
-
Step 400
400
#D39300
oklch(70.8% 0.148 77.7)
-
Step 500
500
#B57D00
oklch(63.1% 0.132 77.3)
-
Step 600
600
#986900
oklch(55.6% 0.116 77.9)
-
Step 700
700
#815800
oklch(49.2% 0.103 77.4)
-
Step 800
800
#6A4700
oklch(42.6% 0.089 76.7)
-
Step 900
900
#583B00
oklch(37.6% 0.078 77.7)
-
Step 950
950
#352200
oklch(26.9% 0.056 77.8)
#ECB252 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) | #C8B448 | 0.058 |
| Deuteranopia (no green cones) | #D6C255 | 0.050 |
| Tritanopia (no blue cones) | #FFA29D | 0.112 |
| Achromatopsia (no color) | #BCBCBC | 0.131 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #ECB252
#ECB252
oklch(79.9% 0.131 77.5)
- #94C0FF
#94C0FF
oklch(80% 0.102 257.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 #ECB252, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Macaroni And Cheese #EFB435 ΔE 0.023
- Butterscotch #FDB147 ΔE 0.027
- Light Orange #FDAA48 ΔE 0.030
- Squash #F2AB15 ΔE 0.032
- Mango #FFA62B ΔE 0.039
- Yellow Orange #FCB001 ΔE 0.039
- Pale Orange #FFA756 ΔE 0.040
- Orange Yellow #FFAD01 ΔE 0.041
Use #ECB252 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.