#9D7C1F#9D7C1F
#9D7C1F is a mid, moderate orange. Relative luminance 0.217; OKLCH L 60.2% C 0.112 H 87.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7C1F |
|---|---|
| RGB | rgb(157, 124, 31) |
| HSL | hsl(44, 67%, 37%) |
| HSV | hsv(44, 80%, 62%) |
| CMYK | cmyk(0%, 21%, 80.3%, 38.4%) |
| CIE-LAB | lab(53.69, 3.61, 51.75) |
| CIE-LCH | lch(53.69, 51.88, 86.01°) |
| OKLab | oklab(60.21% 0.0043 0.1124) |
| OKLCH | oklch(60.21% 0.112 87.8) |
| XYZ | xyz(21.3609, 21.6838, 4.3564) |
| Luminance | 0.2168 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.16
Puke Brown
#947706
ΔE00 3.05
Diarrhea
#9F8303
ΔE00 4.01
Hazel
#8E7618
ΔE00 4.16
Baby Poop
#937C00
ΔE00 4.23
Bronze (survey)
#A87900
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7C1F #1F409D
analogous
#9D3D1F #9D7C1F #7F9D1F
triadic
#9D7C1F #1F9D7C #7C1F9D
tetradic
#9D7C1F #1F9D3D #1F409D #9D1F7F
square
#9D7C1F #1F9D3D #1F409D #9D1F7F
split-complementary
#9D7C1F #1F7F9D #3D1F9D
monochromatic
#372B0B #6A5415 #9D7C1F #D0A429 #DEBB58
Accessibility & contrast
On white
3.94
#9D7C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#9D7C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7C1F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7C1F | 1.00 | 3.94 | 5.34 | 5.34 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#948424
Tritanopia (blue-blind)
#AB706A
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9d7c1f; /* rgb */ color: rgb(157, 124, 31); /* oklch */ color: oklch(60.2% 0.112 87.8);
Tailwind
colors: {
custom: {
50: '#bea163',
500: '#9d7c1f',
950: '#000000',
},
}SCSS
$custom: #9d7c1f; $custom-light: #bea163; $custom-dark: #000000;
JSON
{
"hex": "#9d7c1f",
"rgb": {
"r": 157,
"g": 124,
"b": 31
},
"hsl": {
"h": 44.286,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.60213,
"c": 0.11248,
"h": 87.8
},
"luminance": 0.21682
}Semantic roles & 50–950 ramp
primary
#9D7C1F
secondary
#5672C2
accent
#6BEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A