#9F791B#9F791B
#9F791B is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.114 H 84.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9F791B |
|---|---|
| RGB | rgb(159, 121, 27) |
| HSL | hsl(43, 71%, 36%) |
| HSV | hsv(43, 83%, 62%) |
| CMYK | cmyk(0%, 23.9%, 83%, 37.6%) |
| CIE-LAB | lab(53.09, 6.08, 52.68) |
| CIE-LCH | lch(53.09, 53.03, 83.42°) |
| OKLab | oklab(59.78% 0.0109 0.1134) |
| OKLCH | oklch(59.78% 0.114 84.5) |
| XYZ | xyz(21.3347, 21.1264, 3.9908) |
| Luminance | 0.2112 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.79
Bronze (survey)
#A87900
ΔE00 2.92
Mustard Brown
#AC7E04
ΔE00 3.65
Puke Brown
#947706
ΔE00 3.74
Poo
#8F7303
ΔE00 4.76
Hazel
#8E7618
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F791B #1B419F
analogous
#9F371B #9F791B #839F1B
triadic
#9F791B #1B9F79 #791B9F
tetradic
#9F791B #1B9F37 #1B419F #9F1B83
square
#9F791B #1B9F37 #1B419F #9F1B83
split-complementary
#9F791B #1B839F #371B9F
monochromatic
#362909 #6B5112 #9F791B #D3A124 #E2B953
Accessibility & contrast
On white
4.02
#9F791B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#9F791B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F791B
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F791B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F791B | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897903
Deuteranopia (green-blind)
#928320
Tritanopia (blue-blind)
#AD6D68
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9f791b; /* rgb */ color: rgb(159, 121, 27); /* oklch */ color: oklch(59.8% 0.114 84.5);
Tailwind
colors: {
custom: {
50: '#c09f61',
500: '#9f791b',
950: '#000000',
},
}SCSS
$custom: #9f791b; $custom-light: #c09f61; $custom-dark: #000000;
JSON
{
"hex": "#9f791b",
"rgb": {
"r": 159,
"g": 121,
"b": 27
},
"hsl": {
"h": 42.727,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.59783,
"c": 0.1139,
"h": 84.5
},
"luminance": 0.21125
}Semantic roles & 50–950 ramp
primary
#9F791B
secondary
#5172C5
accent
#6EEE3A
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A