#E2BB42#E2BB42
#E2BB42 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.5% C 0.142 H 90.6°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BB42 |
|---|---|
| RGB | rgb(226, 187, 66) |
| HSL | hsl(45, 73%, 57%) |
| HSV | hsv(45, 71%, 89%) |
| CMYK | cmyk(0%, 17.3%, 70.8%, 11.4%) |
| CIE-LAB | lab(77.34, 1.61, 63.55) |
| CIE-LCH | lch(77.34, 63.57, 88.55°) |
| OKLab | oklab(80.54% -0.0015 0.1415) |
| OKLCH | oklch(80.54% 0.142 90.6) |
| XYZ | xyz(50.1205, 52.1058, 12.5707) |
| Luminance | 0.5210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.28
Gold (survey)
#DBB40C
ΔE00 3.56
Dark Yellow
#D5B60A
ΔE00 4.46
Burnt Yellow
#D5AB09
ΔE00 4.81
Maize
#F4D054
ΔE00 5.10
Golden
#F5BF03
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BB42 #4269E2
analogous
#E26B42 #E2BB42 #B9E242
triadic
#E2BB42 #42E2BB #BB42E2
tetradic
#E2BB42 #42E26B #4269E2 #E242B9
square
#E2BB42 #42E26B #4269E2 #E242B9
split-complementary
#E2BB42 #42B9E2 #6B42E2
monochromatic
#937517 #C89F1F #E2BB42 #EACE77 #F2E1AC
Accessibility & contrast
On white
1.84
#E2BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.42
#E2BB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BB42
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BB42 | 1.00 | 1.84 | 11.42 | 11.42 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B931
Deuteranopia (green-blind)
#D9C448
Tritanopia (blue-blind)
#F4ACA2
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bb42; /* rgb */ color: rgb(226, 187, 66); /* oklch */ color: oklch(80.5% 0.142 90.6);
Tailwind
colors: {
custom: {
50: '#efcf7d',
500: '#e2bb42',
950: '#000000',
},
}SCSS
$custom: #e2bb42; $custom-light: #efcf7d; $custom-dark: #000000;
JSON
{
"hex": "#e2bb42",
"rgb": {
"r": 226,
"g": 187,
"b": 66
},
"hsl": {
"h": 45.375,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.80536,
"c": 0.14154,
"h": 90.6
},
"luminance": 0.52103
}Semantic roles & 50–950 ramp
primary
#E2BB42
secondary
#314A98
accent
#65F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D