#E2BB3A#E2BB3A
#E2BB3A is a light, vivid yellow. Relative luminance 0.520; OKLCH L 80.5% C 0.146 H 91.3°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BB3A |
|---|---|
| RGB | rgb(226, 187, 58) |
| HSL | hsl(46, 74%, 56%) |
| HSV | hsv(46, 74%, 89%) |
| CMYK | cmyk(0%, 17.3%, 74.3%, 11.4%) |
| CIE-LAB | lab(77.29, 1.24, 66.54) |
| CIE-LCH | lch(77.29, 66.56, 88.93°) |
| OKLab | oklab(80.48% -0.0034 0.1464) |
| OKLCH | oklch(80.48% 0.146 91.3) |
| XYZ | xyz(49.9009, 52.0180, 11.4143) |
| Luminance | 0.5202 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.91
Gold (survey)
#DBB40C
ΔE00 2.90
Dark Yellow
#D5B60A
ΔE00 3.83
Burnt Yellow
#D5AB09
ΔE00 4.48
Golden
#F5BF03
ΔE00 4.70
Mustard (survey)
#CEB301
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BB3A #3A61E2
analogous
#E2673A #E2BB3A #B5E23A
triadic
#E2BB3A #3AE2BB #BB3AE2
tetradic
#E2BB3A #3AE267 #3A61E2 #E23AB5
square
#E2BB3A #3AE267 #3A61E2 #E23AB5
split-complementary
#E2BB3A #3AB5E2 #673AE2
monochromatic
#8D7115 #C29C1D #E2BB3A #EACD6F #F2E0A5
Accessibility & contrast
On white
1.84
#E2BB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.40
#E2BB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BB3A
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BB3A | 1.00 | 1.84 | 11.40 | 11.40 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B824
Deuteranopia (green-blind)
#D9C441
Tritanopia (blue-blind)
#F5ABA2
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bb3a; /* rgb */ color: rgb(226, 187, 58); /* oklch */ color: oklch(80.5% 0.146 91.3);
Tailwind
colors: {
custom: {
50: '#f0cf79',
500: '#e2bb3a',
950: '#000000',
},
}SCSS
$custom: #e2bb3a; $custom-light: #f0cf79; $custom-dark: #000000;
JSON
{
"hex": "#e2bb3a",
"rgb": {
"r": 226,
"g": 187,
"b": 58
},
"hsl": {
"h": 46.071,
"s": 74.336,
"l": 55.686
},
"oklch": {
"l": 0.80478,
"c": 0.14641,
"h": 91.3
},
"luminance": 0.52015
}Semantic roles & 50–950 ramp
primary
#E2BB3A
secondary
#2E4592
accent
#62F137
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D