#9D7D1F#9D7D1F
#9D7D1F is a mid, moderate orange. Relative luminance 0.219; OKLCH L 60.4% C 0.113 H 88.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9D7D1F |
|---|---|
| RGB | rgb(157, 125, 31) |
| HSL | hsl(45, 67%, 37%) |
| HSV | hsv(45, 80%, 62%) |
| CMYK | cmyk(0%, 20.4%, 80.3%, 38.4%) |
| CIE-LAB | lab(53.96, 3.04, 51.99) |
| CIE-LCH | lch(53.96, 52.08, 86.65°) |
| OKLab | oklab(60.43% 0.0027 0.1129) |
| OKLCH | oklch(60.43% 0.113 88.6) |
| XYZ | xyz(21.4869, 21.9357, 4.3984) |
| Luminance | 0.2193 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.14
Puke Brown
#947706
ΔE00 3.07
Diarrhea
#9F8303
ΔE00 3.59
Baby Poop
#937C00
ΔE00 3.94
Hazel
#8E7618
ΔE00 4.15
Mustard Brown
#AC7E04
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D7D1F #1F3F9D
analogous
#9D3E1F #9D7D1F #7E9D1F
triadic
#9D7D1F #1F9D7D #7D1F9D
tetradic
#9D7D1F #1F9D3E #1F3F9D #9D1F7E
square
#9D7D1F #1F9D3E #1F3F9D #9D1F7E
split-complementary
#9D7D1F #1F7E9D #3E1F9D
monochromatic
#372C0B #6A5415 #9D7D1F #D0A629 #DEBC58
Accessibility & contrast
On white
3.90
#9D7D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#9D7D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D7D1F
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D7D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D7D1F | 1.00 | 3.90 | 5.39 | 5.39 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#AB716B
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9d7d1f; /* rgb */ color: rgb(157, 125, 31); /* oklch */ color: oklch(60.4% 0.113 88.6);
Tailwind
colors: {
custom: {
50: '#bea263',
500: '#9d7d1f',
950: '#000000',
},
}SCSS
$custom: #9d7d1f; $custom-light: #bea263; $custom-dark: #000000;
JSON
{
"hex": "#9d7d1f",
"rgb": {
"r": 157,
"g": 125,
"b": 31
},
"hsl": {
"h": 44.762,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.60425,
"c": 0.11295,
"h": 88.6
},
"luminance": 0.21934
}Semantic roles & 50–950 ramp
primary
#9D7D1F
secondary
#5671C2
accent
#6AEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A