#9C7A1F#9C7A1F
#9C7A1F is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.7% C 0.111 H 86.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9C7A1F |
|---|---|
| RGB | rgb(156, 122, 31) |
| HSL | hsl(44, 67%, 37%) |
| HSV | hsv(44, 80%, 61%) |
| CMYK | cmyk(0%, 21.8%, 80.1%, 38.8%) |
| CIE-LAB | lab(53.05, 4.27, 51.12) |
| CIE-LCH | lch(53.05, 51.30, 85.22°) |
| OKLab | oklab(59.68% 0.0063 0.1111) |
| OKLCH | oklch(59.68% 0.111 86.8) |
| XYZ | xyz(20.9185, 21.0874, 4.2646) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.36
Puke Brown
#947706
ΔE00 2.98
Hazel
#8E7618
ΔE00 4.03
Bronze (survey)
#A87900
ΔE00 4.05
Poo
#8F7303
ΔE00 4.13
Mustard Brown
#AC7E04
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C7A1F #1F419C
analogous
#9C3C1F #9C7A1F #809C1F
triadic
#9C7A1F #1F9C7A #7A1F9C
tetradic
#9C7A1F #1F9C3C #1F419C #9C1F80
square
#9C7A1F #1F9C3C #1F419C #9C1F80
split-complementary
#9C7A1F #1F809C #3C1F9C
monochromatic
#362A0B #695215 #9C7A1F #CFA229 #DEB958
Accessibility & contrast
On white
4.03
#9C7A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#9C7A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C7A1F
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C7A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C7A1F | 1.00 | 4.03 | 5.22 | 5.22 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A790C
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#AA6E69
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9c7a1f; /* rgb */ color: rgb(156, 122, 31); /* oklch */ color: oklch(59.7% 0.111 86.8);
Tailwind
colors: {
custom: {
50: '#bea063',
500: '#9c7a1f',
950: '#000000',
},
}SCSS
$custom: #9c7a1f; $custom-light: #bea063; $custom-dark: #000000;
JSON
{
"hex": "#9c7a1f",
"rgb": {
"r": 156,
"g": 122,
"b": 31
},
"hsl": {
"h": 43.68,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.59681,
"c": 0.11128,
"h": 86.8
},
"luminance": 0.21086
}Semantic roles & 50–950 ramp
primary
#9C7A1F
secondary
#5573C1
accent
#6DEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A