#E2BB2B#E2BB2B
#E2BB2B is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.4% C 0.154 H 92.4°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BB2B |
|---|---|
| RGB | rgb(226, 187, 43) |
| HSL | hsl(47, 76%, 53%) |
| HSV | hsv(47, 81%, 89%) |
| CMYK | cmyk(0%, 17.3%, 81%, 11.4%) |
| CIE-LAB | lab(77.21, 0.70, 71.42) |
| CIE-LCH | lch(77.21, 71.43, 89.44°) |
| OKLab | oklab(80.39% -0.0064 0.1538) |
| OKLCH | oklch(80.39% 0.154 92.4) |
| XYZ | xyz(49.5734, 51.8869, 9.6891) |
| Luminance | 0.5188 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.94
Gold (survey)
#DBB40C
ΔE00 2.09
Dark Yellow
#D5B60A
ΔE00 3.03
Burnt Yellow
#D5AB09
ΔE00 4.22
Golden
#F5BF03
ΔE00 4.24
Mustard (survey)
#CEB301
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BB2B #2B52E2
analogous
#E25F2B #E2BB2B #AEE22B
triadic
#E2BB2B #2BE2BB #BB2BE2
tetradic
#E2BB2B #2BE25F #2B52E2 #E22BAE
square
#E2BB2B #2BE25F #2B52E2 #E22BAE
split-complementary
#E2BB2B #2BAEE2 #5F2BE2
monochromatic
#816912 #B79519 #E2BB2B #E9CC61 #F1DE97
Accessibility & contrast
On white
1.85
#E2BB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#E2BB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BB2B
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BB2B | 1.00 | 1.85 | 11.38 | 11.38 |
| #FFFFFF | 1.85 | 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)
#D0B800
Deuteranopia (green-blind)
#DAC335
Tritanopia (blue-blind)
#F5ABA1
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bb2b; /* rgb */ color: rgb(226, 187, 43); /* oklch */ color: oklch(80.4% 0.154 92.4);
Tailwind
colors: {
custom: {
50: '#f0cf72',
500: '#e2bb2b',
950: '#000000',
},
}SCSS
$custom: #e2bb2b; $custom-light: #f0cf72; $custom-dark: #000000;
JSON
{
"hex": "#e2bb2b",
"rgb": {
"r": 226,
"g": 187,
"b": 43
},
"hsl": {
"h": 47.213,
"s": 75.934,
"l": 52.745
},
"oklch": {
"l": 0.80391,
"c": 0.15394,
"h": 92.4
},
"luminance": 0.51884
}Semantic roles & 50–950 ramp
primary
#E2BB2B
secondary
#2A3E88
accent
#5EF335
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D