#E7AB2A
Closest named color: Squash (#F2AB15). oklch(77.8% 0.15 81), rgb(231, 171, 42).
Aa
Black text reads best on this color (10.25:1).
About this color
#E7AB2A is a medium-light, vivid orange. In OKLCH its lightness is 78%, its chroma 0.150 and its hue 81°. Its hue sits on the warm side of the wheel. The nearest named color is Squash (#F2AB15), ΔE 0.018 away. Black text reads best on it, at 10.25:1.
| Hue family | Oranges |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.150) |
| Temperature | warm |
| Nearest name | Squash (#F2AB15) |
| Black text | 10.25:1 |
| White text | 2.04:1 |
Values
| HEX | #E7AB2A |
| RGB | rgb(231, 171, 42) |
| HSL | hsl(41, 80%, 54%) |
| OKLCH | oklch(77.8% 0.15 81) |
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 #E7AB2A | 2.04:1 | Fails | Lc -44.2 | Non-text elements, placeholder text |
| Black text on #E7AB2A | 10.25:1 | AAA | Lc 64.3 | Content text, not long reading |
| #E7AB2A text on white | 2.04:1 | Fails | Lc 39.6 | Non-text elements, placeholder text |
| #E7AB2A text on black | 10.25:1 | AAA | Lc -62.7 | 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
#FCF4E7
oklch(97% 0.019 80.1)
-
Step 100
100
#F9E8CA
oklch(93.7% 0.044 81.9)
-
Step 200
200
#F6D49A
oklch(88.5% 0.083 80.6)
-
Step 300
300 (this color)
#E7AB2A
oklch(77.8% 0.15 81)
-
Step 400
400
#CE9500
oklch(70.6% 0.146 81.2)
-
Step 500
500
#B17F00
oklch(63% 0.13 80.8)
-
Step 600
600
#956B00
oklch(55.6% 0.115 81.4)
-
Step 700
700
#7E5900
oklch(49% 0.101 80.5)
-
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)
#E7AB2A 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) | #C3AC05 | 0.061 |
| Deuteranopia (no green cones) | #D1BB31 | 0.050 |
| Tritanopia (no blue cones) | #FB9993 | 0.131 |
| Achromatopsia (no color) | #B5B5B5 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E7AB2A
#E7AB2A
oklch(77.8% 0.15 81)
- #8DB7FF
#8DB7FF
oklch(77.7% 0.113 260.9)
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 #E7AB2A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Squash #F2AB15 ΔE 0.018
- Macaroni And Cheese #EFB435 ΔE 0.026
- Goldenrod #DAA520 ΔE 0.027
- Burnt Yellow #D5AB09 ΔE 0.033
- Gamboge #EE9B00 ΔE 0.037
- Yellow Orange #FCB001 ΔE 0.038
- Orange #FFA500 ΔE 0.039
- Orange Yellow #FFAD01 ΔE 0.040
Use #E7AB2A 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.