#E7B940#E7B940
#E7B940 is a light, vivid orange. Relative luminance 0.521; OKLCH L 80.6% C 0.143 H 87.3°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #E7B940 |
|---|---|
| RGB | rgb(231, 185, 64) |
| HSL | hsl(43, 78%, 58%) |
| HSV | hsv(43, 72%, 91%) |
| CMYK | cmyk(0%, 19.9%, 72.3%, 9.4%) |
| CIE-LAB | lab(77.32, 4.69, 64.47) |
| CIE-LCH | lch(77.32, 64.64, 85.84°) |
| OKLab | oklab(80.62% 0.0069 0.1429) |
| OKLCH | oklch(80.62% 0.143 87.3) |
| XYZ | xyz(51.2324, 52.0604, 12.1997) |
| Luminance | 0.5206 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Mustard
#DBB42C
ΔE00 3.05
Macaroni And Cheese
#EFB435
ΔE00 3.43
Gold (survey)
#DBB40C
ΔE00 4.25
Golden
#F5BF03
ΔE00 4.41
Golden Rod
#F9BC08
ΔE00 4.69
Burnt Yellow
#D5AB09
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7B940 #406EE7
analogous
#E76540 #E7B940 #C1E740
triadic
#E7B940 #40E7B9 #B940E7
tetradic
#E7B940 #40E765 #406EE7 #E740C1
square
#E7B940 #40E765 #406EE7 #E740C1
split-complementary
#E7B940 #40C1E7 #6540E7
monochromatic
#997413 #D09E1A #E7B940 #EECD76 #F5E1AD
Accessibility & contrast
On white
1.84
#E7B940 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.41
#E7B940 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7B940
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7B940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7B940 | 1.00 | 1.84 | 11.41 | 11.41 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFB82E
Deuteranopia (green-blind)
#DAC446
Tritanopia (blue-blind)
#FAA9A1
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #e7b940; /* rgb */ color: rgb(231, 185, 64); /* oklch */ color: oklch(80.6% 0.143 87.3);
Tailwind
colors: {
custom: {
50: '#f3cd7c',
500: '#e7b940',
950: '#000000',
},
}SCSS
$custom: #e7b940; $custom-light: #f3cd7c; $custom-dark: #000000;
JSON
{
"hex": "#e7b940",
"rgb": {
"r": 231,
"g": 185,
"b": 64
},
"hsl": {
"h": 43.473,
"s": 77.674,
"l": 57.843
},
"oklch": {
"l": 0.80623,
"c": 0.14307,
"h": 87.3
},
"luminance": 0.52057
}Semantic roles & 50–950 ramp
primary
#E7B940
secondary
#2E4D9D
accent
#69F434
background
#FFFEFB
surface
#FFFAF2
border
#D7D3CC
text
#18130A
muted
#86837D