#9E7817#9E7817
#9E7817 is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.4% C 0.115 H 84.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7817 |
|---|---|
| RGB | rgb(158, 120, 23) |
| HSL | hsl(43, 75%, 35%) |
| HSV | hsv(43, 85%, 62%) |
| CMYK | cmyk(0%, 24.1%, 85.4%, 38%) |
| CIE-LAB | lab(52.69, 6.06, 53.57) |
| CIE-LCH | lch(52.69, 53.91, 83.55°) |
| OKLab | oklab(59.44% 0.0105 0.1145) |
| OKLCH | oklch(59.44% 0.115 84.8) |
| XYZ | xyz(20.9731, 20.7655, 3.7140) |
| Luminance | 0.2076 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.58
Bronze (survey)
#A87900
ΔE00 2.94
Puke Brown
#947706
ΔE00 3.46
Mustard Brown
#AC7E04
ΔE00 3.81
Poo
#8F7303
ΔE00 4.42
Hazel
#8E7618
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7817 #173D9E
analogous
#9E3417 #9E7817 #809E17
triadic
#9E7817 #179E78 #78179E
tetradic
#9E7817 #179E34 #173D9E #9E1780
square
#9E7817 #179E34 #173D9E #9E1780
split-complementary
#9E7817 #17809E #34179E
monochromatic
#332707 #694F0F #9E7817 #D3A11F #E5B94B
Accessibility & contrast
On white
4.08
#9E7817 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#9E7817 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7817
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7817 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7817 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#91821D
Tritanopia (blue-blind)
#AC6C66
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9e7817; /* rgb */ color: rgb(158, 120, 23); /* oklch */ color: oklch(59.4% 0.115 84.8);
Tailwind
colors: {
custom: {
50: '#bf9e5f',
500: '#9e7817',
950: '#000000',
},
}SCSS
$custom: #9e7817; $custom-light: #bf9e5f; $custom-dark: #000000;
JSON
{
"hex": "#9e7817",
"rgb": {
"r": 158,
"g": 120,
"b": 23
},
"hsl": {
"h": 43.111,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.59441,
"c": 0.11494,
"h": 84.8
},
"luminance": 0.20764
}Semantic roles & 50–950 ramp
primary
#9E7817
secondary
#4A6DC6
accent
#6BF137
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79