#E2AC2F#E2AC2F
#E2AC2F is a light, vivid orange. Relative luminance 0.459; OKLCH L 77.5% C 0.146 H 83.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #E2AC2F |
|---|---|
| RGB | rgb(226, 172, 47) |
| HSL | hsl(42, 76%, 54%) |
| HSV | hsv(42, 79%, 89%) |
| CMYK | cmyk(0%, 23.9%, 79.2%, 11.4%) |
| CIE-LAB | lab(73.47, 8.71, 66.85) |
| CIE-LCH | lch(73.47, 67.42, 82.57°) |
| OKLab | oklab(77.45% 0.0169 0.1448) |
| OKLCH | oklch(77.45% 0.146 83.4) |
| XYZ | xyz(46.6328, 45.8825, 9.0889) |
| Luminance | 0.4588 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 2.07
Macaroni And Cheese
#EFB435
ΔE00 2.62
Squash
#F2AB15
ΔE00 4.07
Burnt Yellow
#D5AB09
ΔE00 4.45
Mustard
#DBB42C
ΔE00 4.76
Yellow Ochre
#CB9D06
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2AC2F #2F65E2
analogous
#E2522F #E2AC2F #BFE22F
triadic
#E2AC2F #2FE2AC #AC2FE2
tetradic
#E2AC2F #2FE252 #2F65E2 #E22FBF
square
#E2AC2F #2FE252 #2F65E2 #E22FBF
split-complementary
#E2AC2F #2FBFE2 #522FE2
monochromatic
#846212 #BA8A1A #E2AC2F #E9C165 #F1D79A
Accessibility & contrast
On white
2.06
#E2AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.18
#E2AC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2AC2F
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2AC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2AC2F | 1.00 | 2.06 | 10.18 | 10.18 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AC14
Deuteranopia (green-blind)
#D0BA36
Tritanopia (blue-blind)
#F69B94
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #e2ac2f; /* rgb */ color: rgb(226, 172, 47); /* oklch */ color: oklch(77.5% 0.146 83.4);
Tailwind
colors: {
custom: {
50: '#f0c472',
500: '#e2ac2f',
950: '#000000',
},
}SCSS
$custom: #e2ac2f; $custom-light: #f0c472; $custom-dark: #000000;
JSON
{
"hex": "#e2ac2f",
"rgb": {
"r": 226,
"g": 172,
"b": 47
},
"hsl": {
"h": 41.899,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.7745,
"c": 0.14573,
"h": 83.4
},
"luminance": 0.45879
}Semantic roles & 50–950 ramp
primary
#E2AC2F
secondary
#90A7DD
accent
#6FF236
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181208
muted
#86817B