#E2BA2B#E2BA2B
#E2BA2B is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.2% C 0.153 H 91.8°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BA2B |
|---|---|
| RGB | rgb(226, 186, 43) |
| HSL | hsl(47, 76%, 53%) |
| HSV | hsv(47, 81%, 89%) |
| CMYK | cmyk(0%, 17.7%, 81%, 11.4%) |
| CIE-LAB | lab(76.96, 1.22, 71.20) |
| CIE-LCH | lch(76.96, 71.21, 89.02°) |
| OKLab | oklab(80.19% -0.0049 0.1533) |
| OKLCH | oklch(80.19% 0.153 91.8) |
| XYZ | xyz(49.3619, 51.4641, 9.6187) |
| Luminance | 0.5146 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.71
Gold (survey)
#DBB40C
ΔE00 1.99
Dark Yellow
#D5B60A
ΔE00 3.18
Burnt Yellow
#D5AB09
ΔE00 3.97
Golden
#F5BF03
ΔE00 4.13
Mustard (survey)
#CEB301
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BA2B #2B53E2
analogous
#E25E2B #E2BA2B #AFE22B
triadic
#E2BA2B #2BE2BA #BA2BE2
tetradic
#E2BA2B #2BE25E #2B53E2 #E22BAF
square
#E2BA2B #2BE25E #2B53E2 #E22BAF
split-complementary
#E2BA2B #2BAFE2 #5E2BE2
monochromatic
#816912 #B79419 #E2BA2B #E9CC61 #F1DD97
Accessibility & contrast
On white
1.86
#E2BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.29
#E2BA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BA2B
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BA2B | 1.00 | 1.86 | 11.29 | 11.29 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D9C335
Tritanopia (blue-blind)
#F5AAA0
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #e2ba2b; /* rgb */ color: rgb(226, 186, 43); /* oklch */ color: oklch(80.2% 0.153 91.8);
Tailwind
colors: {
custom: {
50: '#f0ce72',
500: '#e2ba2b',
950: '#000000',
},
}SCSS
$custom: #e2ba2b; $custom-light: #f0ce72; $custom-dark: #000000;
JSON
{
"hex": "#e2ba2b",
"rgb": {
"r": 226,
"g": 186,
"b": 43
},
"hsl": {
"h": 46.885,
"s": 75.934,
"l": 52.745
},
"oklch": {
"l": 0.80191,
"c": 0.15341,
"h": 91.8
},
"luminance": 0.51461
}Semantic roles & 50–950 ramp
primary
#E2BA2B
secondary
#2A3E88
accent
#5FF335
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D