#E3BA3F#E3BA3F
#E3BA3F is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.4% C 0.143 H 89.8°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #E3BA3F |
|---|---|
| RGB | rgb(227, 186, 63) |
| HSL | hsl(45, 75%, 57%) |
| HSV | hsv(45, 72%, 89%) |
| CMYK | cmyk(0%, 18.1%, 72.2%, 11%) |
| CIE-LAB | lab(77.17, 2.41, 64.58) |
| CIE-LCH | lch(77.17, 64.63, 87.86°) |
| OKLab | oklab(80.41% 0.0004 0.1431) |
| OKLCH | oklch(80.41% 0.143 89.8) |
| XYZ | xyz(50.1375, 51.8107, 12.0613) |
| Luminance | 0.5181 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.15
Gold (survey)
#DBB40C
ΔE00 3.42
Burnt Yellow
#D5AB09
ΔE00 4.54
Dark Yellow
#D5B60A
ΔE00 4.60
Golden
#F5BF03
ΔE00 4.76
Macaroni And Cheese
#EFB435
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E3BA3F #3F68E3
analogous
#E3683F #E3BA3F #BAE33F
triadic
#E3BA3F #3FE3BA #BA3FE3
tetradic
#E3BA3F #3FE368 #3F68E3 #E33FBA
square
#E3BA3F #3FE368 #3F68E3 #E33FBA
split-complementary
#E3BA3F #3FBAE3 #683FE3
monochromatic
#927315 #C89D1D #E3BA3F #EBCD74 #F3E0AA
Accessibility & contrast
On white
1.85
#E3BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.36
#E3BA3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E3BA3F
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E3BA3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E3BA3F | 1.00 | 1.85 | 11.36 | 11.36 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#F6AAA1
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e3ba3f; /* rgb */ color: rgb(227, 186, 63); /* oklch */ color: oklch(80.4% 0.143 89.8);
Tailwind
colors: {
custom: {
50: '#f0ce7c',
500: '#e3ba3f',
950: '#000000',
},
}SCSS
$custom: #e3ba3f; $custom-light: #f0ce7c; $custom-dark: #000000;
JSON
{
"hex": "#e3ba3f",
"rgb": {
"r": 227,
"g": 186,
"b": 63
},
"hsl": {
"h": 45,
"s": 74.545,
"l": 56.863
},
"oklch": {
"l": 0.80413,
"c": 0.14311,
"h": 89.8
},
"luminance": 0.51808
}Semantic roles & 50–950 ramp
primary
#E3BA3F
secondary
#2F4997
accent
#65F137
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130A
muted
#85837D