#9E7517#9E7517
#9E7517 is a mid, moderate orange. Relative luminance 0.201; OKLCH L 58.8% C 0.114 H 82.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7517 |
|---|---|
| RGB | rgb(158, 117, 23) |
| HSL | hsl(42, 75%, 35%) |
| HSV | hsv(42, 85%, 62%) |
| CMYK | cmyk(0%, 25.9%, 85.4%, 38%) |
| CIE-LAB | lab(51.90, 7.76, 52.90) |
| CIE-LCH | lch(51.90, 53.47, 81.66°) |
| OKLab | oklab(58.82% 0.0154 0.113) |
| OKLCH | oklch(58.82% 0.114 82.3) |
| XYZ | xyz(20.6179, 20.0552, 3.5956) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 2.98
Yellowish Brown
#9B7A01
ΔE00 3.86
Mustard Brown
#AC7E04
ΔE00 4.36
Puke Brown
#947706
ΔE00 4.42
Poo
#8F7303
ΔE00 4.95
Golden Brown
#B27A01
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7517 #17409E
analogous
#9E3217 #9E7517 #839E17
triadic
#9E7517 #179E75 #75179E
tetradic
#9E7517 #179E32 #17409E #9E1783
square
#9E7517 #179E32 #17409E #9E1783
split-complementary
#9E7517 #17839E #32179E
monochromatic
#332607 #694D0F #9E7517 #D39D1F #E5B64B
Accessibility & contrast
On white
4.19
#9E7517 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#9E7517 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7517
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7517 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7517 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#8F801C
Tritanopia (blue-blind)
#AC6964
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9e7517; /* rgb */ color: rgb(158, 117, 23); /* oklch */ color: oklch(58.8% 0.114 82.3);
Tailwind
colors: {
custom: {
50: '#c09c5e',
500: '#9e7517',
950: '#000000',
},
}SCSS
$custom: #9e7517; $custom-light: #c09c5e; $custom-dark: #000000;
JSON
{
"hex": "#9e7517",
"rgb": {
"r": 158,
"g": 117,
"b": 23
},
"hsl": {
"h": 41.778,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.58819,
"c": 0.11403,
"h": 82.3
},
"luminance": 0.20054
}Semantic roles & 50–950 ramp
primary
#9E7517
secondary
#4A70C6
accent
#6FF137
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79