#9B791F#9B791F
#9B791F is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.111 H 86.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9B791F |
|---|---|
| RGB | rgb(155, 121, 31) |
| HSL | hsl(44, 67%, 36%) |
| HSV | hsv(44, 80%, 61%) |
| CMYK | cmyk(0%, 21.9%, 80%, 39.2%) |
| CIE-LAB | lab(52.67, 4.38, 50.74) |
| CIE-LCH | lch(52.67, 50.93, 85.07°) |
| OKLab | oklab(59.36% 0.0066 0.1103) |
| OKLCH | oklch(59.36% 0.111 86.6) |
| XYZ | xyz(20.6036, 20.7437, 4.2148) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.50
Puke Brown
#947706
ΔE00 2.91
Hazel
#8E7618
ΔE00 3.87
Poo
#8F7303
ΔE00 3.92
Bronze (survey)
#A87900
ΔE00 4.16
Baby Poop
#937C00
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B791F #1F419B
analogous
#9B3B1F #9B791F #7F9B1F
triadic
#9B791F #1F9B79 #791F9B
tetradic
#9B791F #1F9B3B #1F419B #9B1F7F
square
#9B791F #1F9B3B #1F419B #9B1F7F
split-complementary
#9B791F #1F7F9B #3B1F9B
monochromatic
#35290B #685115 #9B791F #CEA129 #DDB957
Accessibility & contrast
On white
4.08
#9B791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#9B791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B791F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B791F | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89780D
Deuteranopia (green-blind)
#918124
Tritanopia (blue-blind)
#A96D68
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9b791f; /* rgb */ color: rgb(155, 121, 31); /* oklch */ color: oklch(59.4% 0.111 86.6);
Tailwind
colors: {
custom: {
50: '#bd9f63',
500: '#9b791f',
950: '#000000',
},
}SCSS
$custom: #9b791f; $custom-light: #bd9f63; $custom-dark: #000000;
JSON
{
"hex": "#9b791f",
"rgb": {
"r": 155,
"g": 121,
"b": 31
},
"hsl": {
"h": 43.548,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.5936,
"c": 0.11053,
"h": 86.6
},
"luminance": 0.20742
}Semantic roles & 50–950 ramp
primary
#9B791F
secondary
#5572C1
accent
#6DEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A