#E2BB45#E2BB45
#E2BB45 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.6% C 0.140 H 90.3°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BB45 |
|---|---|
| RGB | rgb(226, 187, 69) |
| HSL | hsl(45, 73%, 58%) |
| HSV | hsv(45, 69%, 89%) |
| CMYK | cmyk(0%, 17.3%, 69.5%, 11.4%) |
| CIE-LAB | lab(77.37, 1.76, 62.37) |
| CIE-LCH | lch(77.37, 62.39, 88.39°) |
| OKLab | oklab(80.56% -0.0007 0.1396) |
| OKLCH | oklch(80.56% 0.14 90.3) |
| XYZ | xyz(50.2113, 52.1421, 13.0488) |
| Luminance | 0.5214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.50
Gold (survey)
#DBB40C
ΔE00 3.85
Dark Yellow
#D5B60A
ΔE00 4.74
Burnt Yellow
#D5AB09
ΔE00 4.97
Maize
#F4D054
ΔE00 5.14
Macaroni And Cheese
#EFB435
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BB45 #456CE2
analogous
#E26D45 #E2BB45 #BAE245
triadic
#E2BB45 #45E2BB #BB45E2
tetradic
#E2BB45 #45E26D #456CE2 #E245BA
square
#E2BB45 #45E26D #456CE2 #E245BA
split-complementary
#E2BB45 #45BAE2 #6D45E2
monochromatic
#957617 #CAA020 #E2BB45 #EACE7A #F3E2AF
Accessibility & contrast
On white
1.84
#E2BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#E2BB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BB45
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BB45 | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB935
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#F4ACA3
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bb45; /* rgb */ color: rgb(226, 187, 69); /* oklch */ color: oklch(80.6% 0.140 90.3);
Tailwind
colors: {
custom: {
50: '#efcf7f',
500: '#e2bb45',
950: '#000000',
},
}SCSS
$custom: #e2bb45; $custom-light: #efcf7f; $custom-dark: #000000;
JSON
{
"hex": "#e2bb45",
"rgb": {
"r": 226,
"g": 187,
"b": 69
},
"hsl": {
"h": 45.096,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.8056,
"c": 0.13956,
"h": 90.3
},
"luminance": 0.52139
}Semantic roles & 50–950 ramp
primary
#E2BB45
secondary
#324B9A
accent
#66F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D