#E7BA52#E7BA52
#E7BA52 is a light, vivid orange. Relative luminance 0.527; OKLCH L 81.0% C 0.131 H 85.5°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E7BA52 |
|---|---|
| RGB | rgb(231, 186, 82) |
| HSL | hsl(42, 76%, 61%) |
| HSV | hsv(42, 65%, 91%) |
| CMYK | cmyk(0%, 19.5%, 64.5%, 9.4%) |
| CIE-LAB | lab(77.71, 5.13, 57.33) |
| CIE-LCH | lch(77.71, 57.56, 84.89°) |
| OKLab | oklab(80.98% 0.0103 0.1308) |
| OKLCH | oklch(80.98% 0.131 85.5) |
| XYZ | xyz(52.0397, 52.7192, 15.4159) |
| Luminance | 0.5272 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 3.92
Mustard
#DBB42C
ΔE00 4.55
Gold (survey)
#DBB40C
ΔE00 6.01
Goldenrod
#DAA520
ΔE00 6.08
Golden Rod
#F9BC08
ΔE00 6.08
Golden
#F5BF03
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7BA52 #527FE7
analogous
#E77052 #E7BA52 #CAE752
triadic
#E7BA52 #52E7BA #BA52E7
tetradic
#E7BA52 #52E770 #527FE7 #E752CA
square
#E7BA52 #52E770 #527FE7 #E752CA
split-complementary
#E7BA52 #52CAE7 #7052E7
monochromatic
#A77C17 #DDA41F #E7BA52 #EECF88 #F6E5BD
Accessibility & contrast
On white
1.82
#E7BA52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.54
#E7BA52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7BA52
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7BA52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7BA52 | 1.00 | 1.82 | 11.54 | 11.54 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB946
Deuteranopia (green-blind)
#D9C556
Tritanopia (blue-blind)
#F9ABA4
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #e7ba52; /* rgb */ color: rgb(231, 186, 82); /* oklch */ color: oklch(81.0% 0.131 85.5);
Tailwind
colors: {
custom: {
50: '#f2ce87',
500: '#e7ba52',
950: '#000000',
},
}SCSS
$custom: #e7ba52; $custom-light: #f2ce87; $custom-dark: #000000;
JSON
{
"hex": "#e7ba52",
"rgb": {
"r": 231,
"g": 186,
"b": 82
},
"hsl": {
"h": 41.879,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.80977,
"c": 0.1312,
"h": 85.5
},
"luminance": 0.52716
}Semantic roles & 50–950 ramp
primary
#E7BA52
secondary
#3457A9
accent
#4BD80E
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#17130B
muted
#85837E