#9F792F#9F792F
#9F792F is a mid, moderate orange. Relative luminance 0.213; OKLCH L 59.9% C 0.102 H 81.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9F792F |
|---|---|
| RGB | rgb(159, 121, 47) |
| HSL | hsl(40, 54%, 40%) |
| HSV | hsv(40, 70%, 62%) |
| CMYK | cmyk(0%, 23.9%, 70.4%, 37.6%) |
| CIE-LAB | lab(53.22, 6.98, 44.75) |
| CIE-LCH | lch(53.22, 45.29, 81.14°) |
| OKLab | oklab(59.93% 0.0159 0.1007) |
| OKLCH | oklch(59.93% 0.102 81) |
| XYZ | xyz(21.6499, 21.2525, 5.6506) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 4.66
Coffee
#A6814C
ΔE00 5.22
Mustard Brown
#AC7E04
ΔE00 5.35
Yellowish Brown
#9B7A01
ΔE00 5.35
Puke Brown
#947706
ΔE00 5.80
Dark Tan
#AF884A
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F792F #2F559F
analogous
#9F412F #9F792F #8D9F2F
triadic
#9F792F #2F9F79 #792F9F
tetradic
#9F792F #2F9F41 #2F559F #9F2F8D
square
#9F792F #2F9F41 #2F559F #9F2F8D
split-complementary
#9F792F #2F8D9F #412F9F
monochromatic
#413113 #705521 #9F792F #C89B44 #D6B473
Accessibility & contrast
On white
4.00
#9F792F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#9F792F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F792F
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F792F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F792F | 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)
#897926
Deuteranopia (green-blind)
#928332
Tritanopia (blue-blind)
#AD6E69
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9f792f; /* rgb */ color: rgb(159, 121, 47); /* oklch */ color: oklch(59.9% 0.102 81.0);
Tailwind
colors: {
custom: {
50: '#bf9f6b',
500: '#9f792f',
950: '#000000',
},
}SCSS
$custom: #9f792f; $custom-light: #bf9f6b; $custom-dark: #000000;
JSON
{
"hex": "#9f792f",
"rgb": {
"r": 159,
"g": 121,
"b": 47
},
"hsl": {
"h": 39.643,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.59934,
"c": 0.10198,
"h": 81
},
"luminance": 0.21251
}Semantic roles & 50–950 ramp
primary
#9F792F
secondary
#6D88BD
accent
#7CDE4A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E07
muted
#827E7A