#E2BB46#E2BB46
#E2BB46 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.6% C 0.139 H 90.2°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BB46 |
|---|---|
| RGB | rgb(226, 187, 70) |
| HSL | hsl(45, 73%, 58%) |
| HSV | hsv(45, 69%, 89%) |
| CMYK | cmyk(0%, 17.3%, 69%, 11.4%) |
| CIE-LAB | lab(77.37, 1.81, 61.97) |
| CIE-LCH | lch(77.37, 62.00, 88.33°) |
| OKLab | oklab(80.57% -0.0004 0.1389) |
| OKLCH | oklch(80.57% 0.139 90.2) |
| XYZ | xyz(50.2426, 52.1546, 13.2137) |
| Luminance | 0.5215 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.57
Gold (survey)
#DBB40C
ΔE00 3.95
Dark Yellow
#D5B60A
ΔE00 4.83
Burnt Yellow
#D5AB09
ΔE00 5.03
Maize
#F4D054
ΔE00 5.16
Macaroni And Cheese
#EFB435
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BB46 #466DE2
analogous
#E26D46 #E2BB46 #BBE246
triadic
#E2BB46 #46E2BB #BB46E2
tetradic
#E2BB46 #46E26D #466DE2 #E246BB
square
#E2BB46 #46E26D #466DE2 #E246BB
split-complementary
#E2BB46 #46BBE2 #6D46E2
monochromatic
#967618 #CBA020 #E2BB46 #EACE7B #F3E2B0
Accessibility & contrast
On white
1.84
#E2BB46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#E2BB46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BB46
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BB46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BB46 | 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)
#CFB937
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#F4ACA3
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e2bb46; /* rgb */ color: rgb(226, 187, 70); /* oklch */ color: oklch(80.6% 0.139 90.2);
Tailwind
colors: {
custom: {
50: '#efcf80',
500: '#e2bb46',
950: '#000000',
},
}SCSS
$custom: #e2bb46; $custom-light: #efcf80; $custom-dark: #000000;
JSON
{
"hex": "#e2bb46",
"rgb": {
"r": 226,
"g": 187,
"b": 70
},
"hsl": {
"h": 45,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.80568,
"c": 0.13888,
"h": 90.2
},
"luminance": 0.52152
}Semantic roles & 50–950 ramp
primary
#E2BB46
secondary
#324C9A
accent
#66F038
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130B
muted
#85837E