#E2BA2F#E2BA2F
#E2BA2F is a light, vivid yellow. Relative luminance 0.515; OKLCH L 80.2% C 0.152 H 91.6°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BA2F |
|---|---|
| RGB | rgb(226, 186, 47) |
| HSL | hsl(47, 76%, 54%) |
| HSV | hsv(47, 79%, 89%) |
| CMYK | cmyk(0%, 17.7%, 79.2%, 11.4%) |
| CIE-LAB | lab(76.98, 1.35, 70.00) |
| CIE-LCH | lch(76.98, 70.01, 88.90°) |
| OKLab | oklab(80.21% -0.0042 0.1516) |
| OKLCH | oklch(80.21% 0.152 91.6) |
| XYZ | xyz(49.4390, 51.4949, 10.0243) |
| Luminance | 0.5149 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.64
Gold (survey)
#DBB40C
ΔE00 2.17
Dark Yellow
#D5B60A
ΔE00 3.35
Burnt Yellow
#D5AB09
ΔE00 4.01
Golden
#F5BF03
ΔE00 4.23
Mustard (survey)
#CEB301
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BA2F #2F57E2
analogous
#E2602F #E2BA2F #B0E22F
triadic
#E2BA2F #2FE2BA #BA2FE2
tetradic
#E2BA2F #2FE260 #2F57E2 #E22FB0
square
#E2BA2F #2FE260 #2F57E2 #E22FB0
split-complementary
#E2BA2F #2FB0E2 #602FE2
monochromatic
#846B12 #BA961A #E2BA2F #E9CC65 #F1DE9A
Accessibility & contrast
On white
1.86
#E2BA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.30
#E2BA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BA2F
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BA2F | 1.00 | 1.86 | 11.30 | 11.30 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB70B
Deuteranopia (green-blind)
#D9C338
Tritanopia (blue-blind)
#F5AAA0
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #e2ba2f; /* rgb */ color: rgb(226, 186, 47); /* oklch */ color: oklch(80.2% 0.152 91.6);
Tailwind
colors: {
custom: {
50: '#f0ce73',
500: '#e2ba2f',
950: '#000000',
},
}SCSS
$custom: #e2ba2f; $custom-light: #f0ce73; $custom-dark: #000000;
JSON
{
"hex": "#e2ba2f",
"rgb": {
"r": 226,
"g": 186,
"b": 47
},
"hsl": {
"h": 46.592,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.80211,
"c": 0.15161,
"h": 91.6
},
"luminance": 0.51492
}Semantic roles & 50–950 ramp
primary
#E2BA2F
secondary
#2B408A
accent
#60F236
background
#FFFEFB
surface
#FFFAF1
border
#D7D3CB
text
#181309
muted
#86837D