#E2BC4A#E2BC4A
#E2BC4A is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.8% C 0.137 H 90.4°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BC4A |
|---|---|
| RGB | rgb(226, 188, 74) |
| HSL | hsl(45, 72%, 59%) |
| HSV | hsv(45, 67%, 89%) |
| CMYK | cmyk(0%, 16.8%, 67.3%, 11.4%) |
| CIE-LAB | lab(77.66, 1.50, 60.60) |
| CIE-LCH | lch(77.66, 60.62, 88.58°) |
| OKLab | oklab(80.8% -0.0009 0.1367) |
| OKLCH | oklch(80.8% 0.137 90.4) |
| XYZ | xyz(50.5859, 52.6326, 13.9719) |
| Luminance | 0.5263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.95
Gold (survey)
#DBB40C
ΔE00 4.32
Maize
#F4D054
ΔE00 4.96
Dark Yellow
#D5B60A
ΔE00 5.06
Burnt Yellow
#D5AB09
ΔE00 5.42
Macaroni And Cheese
#EFB435
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BC4A #4A70E2
analogous
#E2704A #E2BC4A #BCE24A
triadic
#E2BC4A #4AE2BC #BC4AE2
tetradic
#E2BC4A #4AE270 #4A70E2 #E24ABC
square
#E2BC4A #4AE270 #4A70E2 #E24ABC
split-complementary
#E2BC4A #4ABCE2 #704AE2
monochromatic
#997919 #CEA321 #E2BC4A #EAD07F #F3E3B3
Accessibility & contrast
On white
1.82
#E2BC4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#E2BC4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BC4A
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BC4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BC4A | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BA3C
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#F4ADA4
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #e2bc4a; /* rgb */ color: rgb(226, 188, 74); /* oklch */ color: oklch(80.8% 0.137 90.4);
Tailwind
colors: {
custom: {
50: '#efcf82',
500: '#e2bc4a',
950: '#000000',
},
}SCSS
$custom: #e2bc4a; $custom-light: #efcf82; $custom-dark: #000000;
JSON
{
"hex": "#e2bc4a",
"rgb": {
"r": 226,
"g": 188,
"b": 74
},
"hsl": {
"h": 45,
"s": 72.381,
"l": 58.824
},
"oklch": {
"l": 0.80802,
"c": 0.13666,
"h": 90.4
},
"luminance": 0.5263
}Semantic roles & 50–950 ramp
primary
#E2BC4A
secondary
#334E9D
accent
#66EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17130B
muted
#85837E