#E2BA3A#E2BA3A
#E2BA3A is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.3% C 0.146 H 90.8°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BA3A |
|---|---|
| RGB | rgb(226, 186, 58) |
| HSL | hsl(46, 74%, 56%) |
| HSV | hsv(46, 74%, 89%) |
| CMYK | cmyk(0%, 17.7%, 74.3%, 11.4%) |
| CIE-LAB | lab(77.04, 1.76, 66.30) |
| CIE-LCH | lch(77.04, 66.33, 88.48°) |
| OKLab | oklab(80.28% -0.0019 0.1459) |
| OKLCH | oklch(80.28% 0.146 90.8) |
| XYZ | xyz(49.6895, 51.5951, 11.3438) |
| Luminance | 0.5159 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.78
Gold (survey)
#DBB40C
ΔE00 2.90
Dark Yellow
#D5B60A
ΔE00 4.01
Burnt Yellow
#D5AB09
ΔE00 4.29
Golden
#F5BF03
ΔE00 4.65
Mustard (survey)
#CEB301
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BA3A #3A62E2
analogous
#E2663A #E2BA3A #B6E23A
triadic
#E2BA3A #3AE2BA #BA3AE2
tetradic
#E2BA3A #3AE266 #3A62E2 #E23AB6
square
#E2BA3A #3AE266 #3A62E2 #E23AB6
split-complementary
#E2BA3A #3AB6E2 #663AE2
monochromatic
#8D7015 #C29B1D #E2BA3A #EACD6F #F2DFA5
Accessibility & contrast
On white
1.86
#E2BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.32
#E2BA3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BA3A
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BA3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BA3A | 1.00 | 1.86 | 11.32 | 11.32 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB824
Deuteranopia (green-blind)
#D9C341
Tritanopia (blue-blind)
#F5AAA1
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #e2ba3a; /* rgb */ color: rgb(226, 186, 58); /* oklch */ color: oklch(80.3% 0.146 90.8);
Tailwind
colors: {
custom: {
50: '#f0ce79',
500: '#e2ba3a',
950: '#000000',
},
}SCSS
$custom: #e2ba3a; $custom-light: #f0ce79; $custom-dark: #000000;
JSON
{
"hex": "#e2ba3a",
"rgb": {
"r": 226,
"g": 186,
"b": 58
},
"hsl": {
"h": 45.714,
"s": 74.336,
"l": 55.686
},
"oklch": {
"l": 0.80278,
"c": 0.14586,
"h": 90.8
},
"luminance": 0.51592
}Semantic roles & 50–950 ramp
primary
#E2BA3A
secondary
#2E4692
accent
#63F137
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#17130A
muted
#85837D