#E2AB2F#E2AB2F
#E2AB2F is a light, vivid orange. Relative luminance 0.455; OKLCH L 77.3% C 0.145 H 82.7°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #E2AB2F |
|---|---|
| RGB | rgb(226, 171, 47) |
| HSL | hsl(42, 76%, 54%) |
| HSV | hsv(42, 79%, 89%) |
| CMYK | cmyk(0%, 24.3%, 79.2%, 11.4%) |
| CIE-LAB | lab(73.22, 9.24, 66.63) |
| CIE-LCH | lch(73.22, 67.27, 82.10°) |
| OKLab | oklab(77.26% 0.0184 0.1443) |
| OKLCH | oklch(77.26% 0.145 82.7) |
| XYZ | xyz(46.4432, 45.5033, 9.0257) |
| Luminance | 0.4550 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 1.98
Macaroni And Cheese
#EFB435
ΔE00 2.72
Squash
#F2AB15
ΔE00 3.87
Burnt Yellow
#D5AB09
ΔE00 4.73
Mustard
#DBB42C
ΔE00 5.14
Yellow Ochre
#CB9D06
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2AB2F #2F66E2
analogous
#E2512F #E2AB2F #BFE22F
triadic
#E2AB2F #2FE2AB #AB2FE2
tetradic
#E2AB2F #2FE251 #2F66E2 #E22FBF
square
#E2AB2F #2FE251 #2F66E2 #E22FBF
split-complementary
#E2AB2F #2FBFE2 #512FE2
monochromatic
#846112 #BA891A #E2AB2F #E9C165 #F1D69A
Accessibility & contrast
On white
2.08
#E2AB2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.10
#E2AB2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2AB2F
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2AB2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2AB2F | 1.00 | 2.08 | 10.10 | 10.10 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC15
Deuteranopia (green-blind)
#CFBA35
Tritanopia (blue-blind)
#F69A93
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #e2ab2f; /* rgb */ color: rgb(226, 171, 47); /* oklch */ color: oklch(77.3% 0.145 82.7);
Tailwind
colors: {
custom: {
50: '#f0c372',
500: '#e2ab2f',
950: '#000000',
},
}SCSS
$custom: #e2ab2f; $custom-light: #f0c372; $custom-dark: #000000;
JSON
{
"hex": "#e2ab2f",
"rgb": {
"r": 226,
"g": 171,
"b": 47
},
"hsl": {
"h": 41.564,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.77256,
"c": 0.14543,
"h": 82.7
},
"luminance": 0.455
}Semantic roles & 50–950 ramp
primary
#E2AB2F
secondary
#90A8DD
accent
#70F236
background
#FFFBF7
surface
#FFF7ED
border
#D7D0C8
text
#181208
muted
#86817B