#E2BB2D#E2BB2D
#E2BB2D is a light, vivid yellow. Relative luminance 0.519; OKLCH L 80.4% C 0.153 H 92.3°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BB2D |
|---|---|
| RGB | rgb(226, 187, 45) |
| HSL | hsl(47, 76%, 53%) |
| HSV | hsv(47, 80%, 89%) |
| CMYK | cmyk(0%, 17.3%, 80.1%, 11.4%) |
| CIE-LAB | lab(77.22, 0.76, 70.83) |
| CIE-LCH | lch(77.22, 70.84, 89.39°) |
| OKLab | oklab(80.4% -0.0061 0.1529) |
| OKLCH | oklch(80.4% 0.153 92.3) |
| XYZ | xyz(49.6109, 51.9020, 9.8871) |
| Luminance | 0.5190 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.90
Gold (survey)
#DBB40C
ΔE00 2.16
Dark Yellow
#D5B60A
ΔE00 3.11
Burnt Yellow
#D5AB09
ΔE00 4.23
Golden
#F5BF03
ΔE00 4.28
Mustard (survey)
#CEB301
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BB2D #2D54E2
analogous
#E2602D #E2BB2D #AEE22D
triadic
#E2BB2D #2DE2BB #BB2DE2
tetradic
#E2BB2D #2DE260 #2D54E2 #E22DAE
square
#E2BB2D #2DE260 #2D54E2 #E22DAE
split-complementary
#E2BB2D #2DAEE2 #602DE2
monochromatic
#836A12 #B89619 #E2BB2D #E9CC63 #F1DE99
Accessibility & contrast
On white
1.85
#E2BB2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.38
#E2BB2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BB2D
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BB2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BB2D | 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)
#D0B802
Deuteranopia (green-blind)
#DAC337
Tritanopia (blue-blind)
#F5ABA1
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bb2d; /* rgb */ color: rgb(226, 187, 45); /* oklch */ color: oklch(80.4% 0.153 92.3);
Tailwind
colors: {
custom: {
50: '#f0cf73',
500: '#e2bb2d',
950: '#000000',
},
}SCSS
$custom: #e2bb2d; $custom-light: #f0cf73; $custom-dark: #000000;
JSON
{
"hex": "#e2bb2d",
"rgb": {
"r": 226,
"g": 187,
"b": 45
},
"hsl": {
"h": 47.072,
"s": 75.732,
"l": 53.137
},
"oklch": {
"l": 0.80401,
"c": 0.15306,
"h": 92.3
},
"luminance": 0.51899
}Semantic roles & 50–950 ramp
primary
#E2BB2D
secondary
#2A3F89
accent
#5EF235
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D