#E2BB30#E2BB30
#E2BB30 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 | #E2BB30 |
|---|---|
| RGB | rgb(226, 187, 48) |
| HSL | hsl(47, 75%, 54%) |
| HSV | hsv(47, 79%, 89%) |
| CMYK | cmyk(0%, 17.3%, 78.8%, 11.4%) |
| CIE-LAB | lab(77.24, 0.86, 69.91) |
| CIE-LCH | lch(77.24, 69.92, 89.30°) |
| OKLab | oklab(80.42% -0.0055 0.1516) |
| OKLCH | oklch(80.42% 0.152 92.1) |
| XYZ | xyz(49.6708, 51.9259, 10.2022) |
| Luminance | 0.5192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.84
Gold (survey)
#DBB40C
ΔE00 2.29
Dark Yellow
#D5B60A
ΔE00 3.24
Burnt Yellow
#D5AB09
ΔE00 4.26
Golden
#F5BF03
ΔE00 4.35
Mustard (survey)
#CEB301
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BB30 #3057E2
analogous
#E26230 #E2BB30 #B0E230
triadic
#E2BB30 #30E2BB #BB30E2
tetradic
#E2BB30 #30E262 #3057E2 #E230B0
square
#E2BB30 #30E262 #3057E2 #E230B0
split-complementary
#E2BB30 #30B0E2 #6230E2
monochromatic
#856C13 #BB971A #E2BB30 #EACD66 #F1DE9B
Accessibility & contrast
On white
1.84
#E2BB30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#E2BB30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BB30
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BB30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BB30 | 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)
#D0B80E
Deuteranopia (green-blind)
#DAC339
Tritanopia (blue-blind)
#F5ABA1
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bb30; /* rgb */ color: rgb(226, 187, 48); /* oklch */ color: oklch(80.4% 0.152 92.1);
Tailwind
colors: {
custom: {
50: '#f0cf74',
500: '#e2bb30',
950: '#000000',
},
}SCSS
$custom: #e2bb30; $custom-light: #f0cf74; $custom-dark: #000000;
JSON
{
"hex": "#e2bb30",
"rgb": {
"r": 226,
"g": 187,
"b": 48
},
"hsl": {
"h": 46.854,
"s": 75.424,
"l": 53.725
},
"oklch": {
"l": 0.80417,
"c": 0.15167,
"h": 92.1
},
"luminance": 0.51923
}Semantic roles & 50–950 ramp
primary
#E2BB30
secondary
#2B408B
accent
#5FF236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#171309
muted
#85837D