#9C791F#9C791F
#9C791F is a mid, moderate orange. Relative luminance 0.208; OKLCH L 59.5% C 0.111 H 85.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9C791F |
|---|---|
| RGB | rgb(156, 121, 31) |
| HSL | hsl(43, 67%, 37%) |
| HSV | hsv(43, 80%, 61%) |
| CMYK | cmyk(0%, 22.4%, 80.1%, 38.8%) |
| CIE-LAB | lab(52.78, 4.84, 50.88) |
| CIE-LCH | lch(52.78, 51.11, 84.57°) |
| OKLab | oklab(59.47% 0.0079 0.1106) |
| OKLCH | oklch(59.47% 0.111 85.9) |
| XYZ | xyz(20.7963, 20.8431, 4.2238) |
| Luminance | 0.2084 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.62
Puke Brown
#947706
ΔE00 3.17
Bronze (survey)
#A87900
ΔE00 3.88
Poo
#8F7303
ΔE00 4.16
Hazel
#8E7618
ΔE00 4.19
Mustard Brown
#AC7E04
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C791F #1F429C
analogous
#9C3B1F #9C791F #819C1F
triadic
#9C791F #1F9C79 #791F9C
tetradic
#9C791F #1F9C3B #1F429C #9C1F81
square
#9C791F #1F9C3B #1F429C #9C1F81
split-complementary
#9C791F #1F819C #3B1F9C
monochromatic
#362A0B #695115 #9C791F #CFA129 #DEB858
Accessibility & contrast
On white
4.06
#9C791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#9C791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C791F
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C791F | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89790D
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#AA6D68
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9c791f; /* rgb */ color: rgb(156, 121, 31); /* oklch */ color: oklch(59.5% 0.111 85.9);
Tailwind
colors: {
custom: {
50: '#be9f63',
500: '#9c791f',
950: '#000000',
},
}SCSS
$custom: #9c791f; $custom-light: #be9f63; $custom-dark: #000000;
JSON
{
"hex": "#9c791f",
"rgb": {
"r": 156,
"g": 121,
"b": 31
},
"hsl": {
"h": 43.2,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.59471,
"c": 0.11086,
"h": 85.9
},
"luminance": 0.20842
}Semantic roles & 50–950 ramp
primary
#9C791F
secondary
#5574C1
accent
#6EEA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A