#9F7822#9F7822
#9F7822 is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.6% C 0.110 H 82.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9F7822 |
|---|---|
| RGB | rgb(159, 120, 34) |
| HSL | hsl(41, 65%, 38%) |
| HSV | hsv(41, 79%, 62%) |
| CMYK | cmyk(0%, 24.5%, 78.6%, 37.6%) |
| CIE-LAB | lab(52.86, 6.90, 49.95) |
| CIE-LCH | lch(52.86, 50.42, 82.13°) |
| OKLab | oklab(59.62% 0.014 0.1091) |
| OKLCH | oklch(59.62% 0.11 82.7) |
| XYZ | xyz(21.3047, 20.9210, 4.4291) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 3.29
Yellowish Brown
#9B7A01
ΔE00 3.88
Mustard Brown
#AC7E04
ΔE00 4.20
Puke Brown
#947706
ΔE00 4.54
Golden Brown
#B27A01
ΔE00 5.32
Poo
#8F7303
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F7822 #22499F
analogous
#9F3922 #9F7822 #879F22
triadic
#9F7822 #229F78 #78229F
tetradic
#9F7822 #229F39 #22499F #9F2287
square
#9F7822 #229F39 #22499F #9F2287
split-complementary
#9F7822 #22879F #39229F
monochromatic
#3A2C0C #6D5217 #9F7822 #D19E2D #DDB55F
Accessibility & contrast
On white
4.05
#9F7822 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#9F7822 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F7822
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F7822 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F7822 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#928226
Tritanopia (blue-blind)
#AD6C67
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9f7822; /* rgb */ color: rgb(159, 120, 34); /* oklch */ color: oklch(59.6% 0.110 82.7);
Tailwind
colors: {
custom: {
50: '#c09e64',
500: '#9f7822',
950: '#000000',
},
}SCSS
$custom: #9f7822; $custom-light: #c09e64; $custom-dark: #000000;
JSON
{
"hex": "#9f7822",
"rgb": {
"r": 159,
"g": 120,
"b": 34
},
"hsl": {
"h": 41.28,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.59619,
"c": 0.10999,
"h": 82.7
},
"luminance": 0.20919
}Semantic roles & 50–950 ramp
primary
#9F7822
secondary
#5B7BC1
accent
#74E840
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A