#9E7A1B#9E7A1B
#9E7A1B is a mid, moderate orange. Relative luminance 0.213; OKLCH L 59.9% C 0.114 H 86.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9E7A1B |
|---|---|
| RGB | rgb(158, 122, 27) |
| HSL | hsl(44, 71%, 36%) |
| HSV | hsv(44, 83%, 62%) |
| CMYK | cmyk(0%, 22.8%, 82.9%, 38%) |
| CIE-LAB | lab(53.24, 5.05, 52.77) |
| CIE-LCH | lch(53.24, 53.02, 84.53°) |
| OKLab | oklab(59.88% 0.008 0.1136) |
| OKLCH | oklch(59.88% 0.114 86) |
| XYZ | xyz(21.2593, 21.2688, 4.0223) |
| Luminance | 0.2127 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.25
Puke Brown
#947706
ΔE00 3.25
Bronze (survey)
#A87900
ΔE00 3.37
Mustard Brown
#AC7E04
ΔE00 3.84
Poo
#8F7303
ΔE00 4.43
Hazel
#8E7618
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E7A1B #1B3F9E
analogous
#9E381B #9E7A1B #819E1B
triadic
#9E7A1B #1B9E7A #7A1B9E
tetradic
#9E7A1B #1B9E38 #1B3F9E #9E1B81
square
#9E7A1B #1B9E38 #1B3F9E #9E1B81
split-complementary
#9E7A1B #1B819E #381B9E
monochromatic
#352909 #6A5212 #9E7A1B #D2A224 #E1BA52
Accessibility & contrast
On white
4.00
#9E7A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#9E7A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E7A1B
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E7A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E7A1B | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A03
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#AC6E68
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9e7a1b; /* rgb */ color: rgb(158, 122, 27); /* oklch */ color: oklch(59.9% 0.114 86.0);
Tailwind
colors: {
custom: {
50: '#bfa061',
500: '#9e7a1b',
950: '#000000',
},
}SCSS
$custom: #9e7a1b; $custom-light: #bfa061; $custom-dark: #000000;
JSON
{
"hex": "#9e7a1b",
"rgb": {
"r": 158,
"g": 122,
"b": 27
},
"hsl": {
"h": 43.511,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.5988,
"c": 0.11392,
"h": 86
},
"luminance": 0.21267
}Semantic roles & 50–950 ramp
primary
#9E7A1B
secondary
#5170C4
accent
#6CEE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A