#E2BA3F#E2BA3F
#E2BA3F is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.3% C 0.143 H 90.3°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #E2BA3F |
|---|---|
| RGB | rgb(226, 186, 63) |
| HSL | hsl(45, 74%, 57%) |
| HSV | hsv(45, 72%, 89%) |
| CMYK | cmyk(0%, 17.7%, 72.1%, 11.4%) |
| CIE-LAB | lab(77.07, 1.99, 64.45) |
| CIE-LCH | lch(77.07, 64.48, 88.24°) |
| OKLab | oklab(80.31% -0.0007 0.1429) |
| OKLCH | oklch(80.31% 0.143 90.3) |
| XYZ | xyz(49.8229, 51.6485, 12.0466) |
| Luminance | 0.5164 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.03
Gold (survey)
#DBB40C
ΔE00 3.33
Dark Yellow
#D5B60A
ΔE00 4.39
Burnt Yellow
#D5AB09
ΔE00 4.50
Golden
#F5BF03
ΔE00 4.92
Macaroni And Cheese
#EFB435
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2BA3F #3F67E2
analogous
#E2693F #E2BA3F #B9E23F
triadic
#E2BA3F #3FE2BA #BA3FE2
tetradic
#E2BA3F #3FE269 #3F67E2 #E23FB9
square
#E2BA3F #3FE269 #3F67E2 #E23FB9
split-complementary
#E2BA3F #3FB9E2 #693FE2
monochromatic
#917316 #C69D1E #E2BA3F #EACD74 #F2E0A9
Accessibility & contrast
On white
1.85
#E2BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.33
#E2BA3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2BA3F
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2BA3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2BA3F | 1.00 | 1.85 | 11.33 | 11.33 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#F4ABA1
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #e2ba3f; /* rgb */ color: rgb(226, 186, 63); /* oklch */ color: oklch(80.3% 0.143 90.3);
Tailwind
colors: {
custom: {
50: '#efce7c',
500: '#e2ba3f',
950: '#000000',
},
}SCSS
$custom: #e2ba3f; $custom-light: #efce7c; $custom-dark: #000000;
JSON
{
"hex": "#e2ba3f",
"rgb": {
"r": 226,
"g": 186,
"b": 63
},
"hsl": {
"h": 45.276,
"s": 73.756,
"l": 56.667
},
"oklch": {
"l": 0.80313,
"c": 0.14288,
"h": 90.3
},
"luminance": 0.51645
}Semantic roles & 50–950 ramp
primary
#E2BA3F
secondary
#304996
accent
#65F037
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D