#E2B223#E2B223
#E2B223 is a light, vivid orange. Relative luminance 0.481; OKLCH L 78.6% C 0.153 H 87.9°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #E2B223 |
|---|---|
| RGB | rgb(226, 178, 35) |
| HSL | hsl(45, 77%, 51%) |
| HSV | hsv(45, 85%, 89%) |
| CMYK | cmyk(0%, 21.2%, 84.5%, 11.4%) |
| CIE-LAB | lab(74.91, 5.19, 71.69) |
| CIE-LCH | lch(74.91, 71.88, 85.86°) |
| OKLab | oklab(78.57% 0.0057 0.1527) |
| OKLCH | oklch(78.57% 0.153 87.9) |
| XYZ | xyz(47.5909, 48.1343, 8.3740) |
| Luminance | 0.4813 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 2.38
Burnt Yellow
#D5AB09
ΔE00 2.83
Gold (survey)
#DBB40C
ΔE00 2.93
Macaroni And Cheese
#EFB435
ΔE00 3.68
Goldenrod
#DAA520
ΔE00 3.83
Golden
#F5BF03
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2B223 #2353E2
analogous
#E25223 #E2B223 #B3E223
triadic
#E2B223 #23E2B2 #B223E2
tetradic
#E2B223 #23E252 #2353E2 #E223B3
square
#E2B223 #23E252 #2353E2 #E223B3
split-complementary
#E2B223 #23B3E2 #5223E2
monochromatic
#7A6010 #B18A17 #E2B223 #E9C559 #F0D88F
Accessibility & contrast
On white
1.98
#E2B223 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.63
#E2B223 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2B223
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2B223 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2B223 | 1.00 | 1.98 | 10.63 | 10.63 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#D4BE2D
Tritanopia (blue-blind)
#F6A199
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #e2b223; /* rgb */ color: rgb(226, 178, 35); /* oklch */ color: oklch(78.6% 0.153 87.9);
Tailwind
colors: {
custom: {
50: '#f1c86d',
500: '#e2b223',
950: '#000000',
},
}SCSS
$custom: #e2b223; $custom-light: #f1c86d; $custom-dark: #000000;
JSON
{
"hex": "#e2b223",
"rgb": {
"r": 226,
"g": 178,
"b": 35
},
"hsl": {
"h": 44.921,
"s": 76.707,
"l": 51.176
},
"oklch": {
"l": 0.78565,
"c": 0.15285,
"h": 87.9
},
"luminance": 0.48131
}Semantic roles & 50–950 ramp
primary
#E2B223
secondary
#869BDB
accent
#64F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B