#E2AB2B#E2AB2B
#E2AB2B is a light, vivid orange. Relative luminance 0.455; OKLCH L 77.2% C 0.147 H 83.1°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E2AB2B |
|---|---|
| RGB | rgb(226, 171, 43) |
| HSL | hsl(42, 76%, 53%) |
| HSV | hsv(42, 81%, 89%) |
| CMYK | cmyk(0%, 24.3%, 81%, 11.4%) |
| CIE-LAB | lab(73.20, 9.11, 67.92) |
| CIE-LCH | lch(73.20, 68.53, 82.36°) |
| OKLab | oklab(77.23% 0.0176 0.1462) |
| OKLCH | oklch(77.23% 0.147 83.1) |
| XYZ | xyz(46.3662, 45.4725, 8.6201) |
| Luminance | 0.4547 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Goldenrod
#DAA520
ΔE00 1.86
Macaroni And Cheese
#EFB435
ΔE00 2.74
Squash
#F2AB15
ΔE00 3.86
Burnt Yellow
#D5AB09
ΔE00 4.48
Mustard
#DBB42C
ΔE00 4.97
Yellow Ochre
#CB9D06
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2AB2B #2B62E2
analogous
#E24F2B #E2AB2B #BEE22B
triadic
#E2AB2B #2BE2AB #AB2BE2
tetradic
#E2AB2B #2BE24F #2B62E2 #E22BBE
square
#E2AB2B #2BE24F #2B62E2 #E22BBE
split-complementary
#E2AB2B #2BBEE2 #4F2BE2
monochromatic
#816012 #B78719 #E2AB2B #E9C061 #F1D697
Accessibility & contrast
On white
2.08
#E2AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.09
#E2AB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2AB2B
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2AB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2AB2B | 1.00 | 2.08 | 10.09 | 10.09 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB09
Deuteranopia (green-blind)
#CFB932
Tritanopia (blue-blind)
#F69A93
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #e2ab2b; /* rgb */ color: rgb(226, 171, 43); /* oklch */ color: oklch(77.2% 0.147 83.1);
Tailwind
colors: {
custom: {
50: '#f0c370',
500: '#e2ab2b',
950: '#000000',
},
}SCSS
$custom: #e2ab2b; $custom-light: #f0c370; $custom-dark: #000000;
JSON
{
"hex": "#e2ab2b",
"rgb": {
"r": 226,
"g": 171,
"b": 43
},
"hsl": {
"h": 41.967,
"s": 75.934,
"l": 52.745
},
"oklch": {
"l": 0.77234,
"c": 0.14725,
"h": 83.1
},
"luminance": 0.45469
}Semantic roles & 50–950 ramp
primary
#E2AB2B
secondary
#8DA5DC
accent
#6EF335
background
#FFFBF7
surface
#FFF7ED
border
#D7D0C8
text
#181208
muted
#86817B