#E7BA40#E7BA40
#E7BA40 is a light, vivid orange. Relative luminance 0.525; OKLCH L 80.8% C 0.144 H 87.9°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #E7BA40 |
|---|---|
| RGB | rgb(231, 186, 64) |
| HSL | hsl(44, 78%, 58%) |
| HSV | hsv(44, 72%, 91%) |
| CMYK | cmyk(0%, 19.5%, 72.3%, 9.4%) |
| CIE-LAB | lab(77.57, 4.16, 64.72) |
| CIE-LCH | lch(77.57, 64.85, 86.32°) |
| OKLab | oklab(80.82% 0.0053 0.1434) |
| OKLCH | oklch(80.82% 0.144 87.9) |
| XYZ | xyz(51.4423, 52.4803, 12.2697) |
| Luminance | 0.5248 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 2.91
Macaroni And Cheese
#EFB435
ΔE00 3.76
Gold (survey)
#DBB40C
ΔE00 4.08
Golden
#F5BF03
ΔE00 4.31
Golden Rod
#F9BC08
ΔE00 4.75
Burnt Yellow
#D5AB09
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7BA40 #406DE7
analogous
#E76640 #E7BA40 #C1E740
triadic
#E7BA40 #40E7BA #BA40E7
tetradic
#E7BA40 #40E766 #406DE7 #E740C1
square
#E7BA40 #40E766 #406DE7 #E740C1
split-complementary
#E7BA40 #40C1E7 #6640E7
monochromatic
#997513 #D09F1A #E7BA40 #EECE76 #F5E1AD
Accessibility & contrast
On white
1.83
#E7BA40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.50
#E7BA40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7BA40
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7BA40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7BA40 | 1.00 | 1.83 | 11.50 | 11.50 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B92E
Deuteranopia (green-blind)
#DAC546
Tritanopia (blue-blind)
#FAAAA1
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #e7ba40; /* rgb */ color: rgb(231, 186, 64); /* oklch */ color: oklch(80.8% 0.144 87.9);
Tailwind
colors: {
custom: {
50: '#f3ce7c',
500: '#e7ba40',
950: '#000000',
},
}SCSS
$custom: #e7ba40; $custom-light: #f3ce7c; $custom-dark: #000000;
JSON
{
"hex": "#e7ba40",
"rgb": {
"r": 231,
"g": 186,
"b": 64
},
"hsl": {
"h": 43.832,
"s": 77.674,
"l": 57.843
},
"oklch": {
"l": 0.8082,
"c": 0.14354,
"h": 87.9
},
"luminance": 0.52477
}Semantic roles & 50–950 ramp
primary
#E7BA40
secondary
#2E4C9D
accent
#68F434
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130A
muted
#86837D