#E7AC20
Closest named color: Squash (#F2AB15). oklch(77.9% 0.154 82.4), rgb(231, 172, 32).
Aa
Black text reads best on this color (10.31:1).
About this color
#E7AC20 is a medium-light, vivid orange. In OKLCH its lightness is 78%, its chroma 0.154 and its hue 82°. Its hue sits on the warm side of the wheel. The nearest named color is Squash (#F2AB15), ΔE 0.017 away. Black text reads best on it, at 10.31:1.
| Hue family | Oranges |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.154) |
| Temperature | warm |
| Nearest name | Squash (#F2AB15) |
| Black text | 10.31:1 |
| White text | 2.03:1 |
Values
| HEX | #E7AC20 |
| RGB | rgb(231, 172, 32) |
| HSL | hsl(42, 81%, 52%) |
| OKLCH | oklch(77.9% 0.154 82.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 #E7AC20 | 2.03:1 | Fails | Lc -43.8 | Non-text elements, placeholder text |
| Black text on #E7AC20 | 10.31:1 | AAA | Lc 64.6 | Content text, not long reading |
| #E7AC20 text on white | 2.03:1 | Fails | Lc 39.3 | Non-text elements, placeholder text |
| #E7AC20 text on black | 10.31:1 | AAA | Lc -63.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
#FCF5E6
oklch(97.2% 0.021 85.9)
-
Step 100
100
#F9E8C9
oklch(93.7% 0.045 82.6)
-
Step 200
200
#F5D498
oklch(88.4% 0.085 82.1)
-
Step 300
300 (this color)
#E7AC20
oklch(77.9% 0.154 82.4)
-
Step 400
400
#CD9600
oklch(70.7% 0.146 82.3)
-
Step 500
500
#B08000
oklch(63.1% 0.13 82.1)
-
Step 600
600
#946B00
oklch(55.5% 0.114 82)
-
Step 700
700
#7D5A00
oklch(49.1% 0.101 82.2)
-
Step 800
800
#664900
oklch(42.6% 0.088 82.4)
-
Step 900
900
#563D00
oklch(37.8% 0.078 82.4)
-
Step 950
950
#342300
oklch(27% 0.056 81.4)
#E7AC20 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) | #C4AD00 | 0.058 |
| Deuteranopia (no green cones) | #D2BC29 | 0.049 |
| Tritanopia (no blue cones) | #FB9A93 | 0.135 |
| Achromatopsia (no color) | #B6B6B6 | 0.154 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #E7AC20
#E7AC20
oklch(77.9% 0.154 82.4)
- #90B7FF
#90B7FF
oklch(77.9% 0.112 262.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 #E7AC20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Squash #F2AB15 ΔE 0.017
- Macaroni And Cheese #EFB435 ΔE 0.025
- Goldenrod #DAA520 ΔE 0.029
- Burnt Yellow #D5AB09 ΔE 0.031
- Yellow Orange #FCB001 ΔE 0.036
- Orange Yellow #FFAD01 ΔE 0.039
- Dark Yellow #D5B60A ΔE 0.039
- Gamboge #EE9B00 ΔE 0.040
Use #E7AC20 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.