#E7B542#E7B542
#E7B542 is a light, vivid orange. Relative luminance 0.504; OKLCH L 79.9% C 0.140 H 84.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #E7B542 |
|---|---|
| RGB | rgb(231, 181, 66) |
| HSL | hsl(42, 77%, 58%) |
| HSV | hsv(42, 71%, 91%) |
| CMYK | cmyk(0%, 21.6%, 71.4%, 9.4%) |
| CIE-LAB | lab(76.33, 6.88, 62.70) |
| CIE-LCH | lch(76.33, 63.08, 83.74°) |
| OKLab | oklab(79.86% 0.0134 0.1395) |
| OKLCH | oklch(79.86% 0.14 84.5) |
| XYZ | xyz(50.4653, 50.4335, 12.2298) |
| Luminance | 0.5043 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Macaroni And Cheese
#EFB435
ΔE00 2.28
Mustard
#DBB42C
ΔE00 4.13
Goldenrod
#DAA520
ΔE00 4.42
Golden Rod
#F9BC08
ΔE00 4.96
Orangey Yellow
#FDB915
ΔE00 5.15
Burnt Yellow
#D5AB09
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7B542 #4274E7
analogous
#E76242 #E7B542 #C7E742
triadic
#E7B542 #42E7B5 #B542E7
tetradic
#E7B542 #42E762 #4274E7 #E742C7
square
#E7B542 #42E762 #4274E7 #E742C7
split-complementary
#E7B542 #42C7E7 #6242E7
monochromatic
#9B7214 #D19A1B #E7B542 #EECA78 #F5E0AF
Accessibility & contrast
On white
1.89
#E7B542 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.09
#E7B542 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7B542
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7B542 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7B542 | 1.00 | 1.89 | 11.09 | 11.09 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB532
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#FAA59E
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #e7b542; /* rgb */ color: rgb(231, 181, 66); /* oklch */ color: oklch(79.9% 0.140 84.5);
Tailwind
colors: {
custom: {
50: '#f3ca7d',
500: '#e7b542',
950: '#000000',
},
}SCSS
$custom: #e7b542; $custom-light: #f3ca7d; $custom-dark: #000000;
JSON
{
"hex": "#e7b542",
"rgb": {
"r": 231,
"g": 181,
"b": 66
},
"hsl": {
"h": 41.818,
"s": 77.465,
"l": 58.235
},
"oklch": {
"l": 0.79855,
"c": 0.14017,
"h": 84.5
},
"luminance": 0.5043
}Semantic roles & 50–950 ramp
primary
#E7B542
secondary
#2F519E
accent
#6EF434
background
#FFFDFB
surface
#FFF9F2
border
#D7D2CC
text
#18130A
muted
#86827D