#E2BB2F#E2BB2F
#E2BB2F is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.4% C 0.152 H 92.1°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BB2F |
|---|---|
| RGB | rgb(226, 187, 47) |
| HSL | hsl(47, 76%, 54%) |
| HSV | hsv(47, 79%, 89%) |
| CMYK | cmyk(0%, 17.3%, 79.2%, 11.4%) |
| CIE-LAB | lab(77.23, 0.82, 70.22) |
| CIE-LCH | lch(77.23, 70.23, 89.33°) |
| OKLab | oklab(80.41% -0.0057 0.152) |
| OKLCH | oklch(80.41% 0.152 92.1) |
| XYZ | xyz(49.6504, 51.9177, 10.0948) |
| Luminance | 0.5192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.86
Gold (survey)
#DBB40C
ΔE00 2.25
Dark Yellow
#D5B60A
ΔE00 3.20
Burnt Yellow
#D5AB09
ΔE00 4.25
Golden
#F5BF03
ΔE00 4.32
Mustard (survey)
#CEB301
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BB2F #2F56E2
analogous
#E2612F #E2BB2F #B0E22F
triadic
#E2BB2F #2FE2BB #BB2FE2
tetradic
#E2BB2F #2FE261 #2F56E2 #E22FB0
square
#E2BB2F #2FE261 #2F56E2 #E22FB0
split-complementary
#E2BB2F #2FB0E2 #612FE2
monochromatic
#846B12 #BA971A #E2BB2F #E9CD65 #F1DE9A
Accessibility & contrast
On white
1.84
#E2BB2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#E2BB2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BB2F
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BB2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BB2F | 1.00 | 1.84 | 11.38 | 11.38 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B80A
Deuteranopia (green-blind)
#DAC338
Tritanopia (blue-blind)
#F5ABA1
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bb2f; /* rgb */ color: rgb(226, 187, 47); /* oklch */ color: oklch(80.4% 0.152 92.1);
Tailwind
colors: {
custom: {
50: '#f0cf74',
500: '#e2bb2f',
950: '#000000',
},
}SCSS
$custom: #e2bb2f; $custom-light: #f0cf74; $custom-dark: #000000;
JSON
{
"hex": "#e2bb2f",
"rgb": {
"r": 226,
"g": 187,
"b": 47
},
"hsl": {
"h": 46.927,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.80411,
"c": 0.15214,
"h": 92.1
},
"luminance": 0.51915
}Semantic roles & 50–950 ramp
primary
#E2BB2F
secondary
#2B408A
accent
#5FF236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D