#E2B328#E2B328
#E2B328 is a light, vivid orange. Relative luminance 0.486; OKLCH L 78.8% C 0.151 H 88.1°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #E2B328 |
|---|---|
| RGB | rgb(226, 179, 40) |
| HSL | hsl(45, 76%, 52%) |
| HSV | hsv(45, 82%, 89%) |
| CMYK | cmyk(0%, 20.8%, 82.3%, 11.4%) |
| CIE-LAB | lab(75.18, 4.79, 70.54) |
| CIE-LCH | lch(75.18, 70.70, 86.11°) |
| OKLab | oklab(78.78% 0.005 0.1513) |
| OKLCH | oklch(78.78% 0.151 88.1) |
| XYZ | xyz(47.8702, 48.5655, 8.8598) |
| Luminance | 0.4856 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 2.13
Gold (survey)
#DBB40C
ΔE00 2.85
Burnt Yellow
#D5AB09
ΔE00 2.95
Macaroni And Cheese
#EFB435
ΔE00 3.73
Goldenrod
#DAA520
ΔE00 4.06
Golden
#F5BF03
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2B328 #2857E2
analogous
#E25628 #E2B328 #B4E228
triadic
#E2B328 #28E2B3 #B328E2
tetradic
#E2B328 #28E256 #2857E2 #E228B4
square
#E2B328 #28E256 #2857E2 #E228B4
split-complementary
#E2B328 #28B4E2 #5628E2
monochromatic
#7F6311 #B48D18 #E2B328 #E9C65E #F1D994
Accessibility & contrast
On white
1.96
#E2B328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#E2B328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2B328
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2B328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2B328 | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B200
Deuteranopia (green-blind)
#D5BE31
Tritanopia (blue-blind)
#F5A29A
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #e2b328; /* rgb */ color: rgb(226, 179, 40); /* oklch */ color: oklch(78.8% 0.151 88.1);
Tailwind
colors: {
custom: {
50: '#f0c970',
500: '#e2b328',
950: '#000000',
},
}SCSS
$custom: #e2b328; $custom-light: #f0c970; $custom-dark: #000000;
JSON
{
"hex": "#e2b328",
"rgb": {
"r": 226,
"g": 179,
"b": 40
},
"hsl": {
"h": 44.839,
"s": 76.23,
"l": 52.157
},
"oklch": {
"l": 0.78784,
"c": 0.15134,
"h": 88.1
},
"luminance": 0.48562
}Semantic roles & 50–950 ramp
primary
#E2B328
secondary
#8A9FDC
accent
#65F335
background
#FFFCF7
surface
#FFF8ED
border
#D7D1C8
text
#181308
muted
#86827B