#9F7918#9F7918
#9F7918 is a mid, moderate orange. Relative luminance 0.211; OKLCH L 59.8% C 0.115 H 84.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9F7918 |
|---|---|
| RGB | rgb(159, 121, 24) |
| HSL | hsl(43, 74%, 36%) |
| HSV | hsv(43, 85%, 62%) |
| CMYK | cmyk(0%, 23.9%, 84.9%, 37.6%) |
| CIE-LAB | lab(53.07, 5.98, 53.63) |
| CIE-LCH | lch(53.07, 53.97, 83.63°) |
| OKLab | oklab(59.77% 0.0103 0.1148) |
| OKLCH | oklch(59.77% 0.115 84.9) |
| XYZ | xyz(21.3018, 21.1132, 3.8173) |
| Luminance | 0.2111 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.54
Bronze (survey)
#A87900
ΔE00 2.83
Mustard Brown
#AC7E04
ΔE00 3.54
Puke Brown
#947706
ΔE00 3.58
Poo
#8F7303
ΔE00 4.64
Hazel
#8E7618
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F7918 #183E9F
analogous
#9F3518 #9F7918 #819F18
triadic
#9F7918 #189F79 #79189F
tetradic
#9F7918 #189F35 #183E9F #9F1881
square
#9F7918 #189F35 #183E9F #9F1881
split-complementary
#9F7918 #18819F #35189F
monochromatic
#352808 #6A5110 #9F7918 #D4A120 #E4BA4D
Accessibility & contrast
On white
4.02
#9F7918 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#9F7918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F7918
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F7918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F7918 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#93831E
Tritanopia (blue-blind)
#AD6D67
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9f7918; /* rgb */ color: rgb(159, 121, 24); /* oklch */ color: oklch(59.8% 0.115 84.9);
Tailwind
colors: {
custom: {
50: '#c09f5f',
500: '#9f7918',
950: '#000000',
},
}SCSS
$custom: #9f7918; $custom-light: #c09f5f; $custom-dark: #000000;
JSON
{
"hex": "#9f7918",
"rgb": {
"r": 159,
"g": 121,
"b": 24
},
"hsl": {
"h": 43.111,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.59767,
"c": 0.11523,
"h": 84.9
},
"luminance": 0.21112
}Semantic roles & 50–950 ramp
primary
#9F7918
secondary
#4D6FC6
accent
#6BF037
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79