#9F781F#9F781F
#9F781F is a mid, moderate orange. Relative luminance 0.209; OKLCH L 59.6% C 0.112 H 83.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9F781F |
|---|---|
| RGB | rgb(159, 120, 31) |
| HSL | hsl(42, 67%, 37%) |
| HSV | hsv(42, 81%, 62%) |
| CMYK | cmyk(0%, 24.5%, 80.5%, 37.6%) |
| CIE-LAB | lab(52.84, 6.79, 51.06) |
| CIE-LCH | lch(52.84, 51.51, 82.43°) |
| OKLab | oklab(59.6% 0.0133 0.1108) |
| OKLCH | oklch(59.6% 0.112 83.1) |
| XYZ | xyz(21.2633, 20.9044, 4.2111) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Bronze (survey)
#A87900
ΔE00 3.07
Yellowish Brown
#9B7A01
ΔE00 3.54
Mustard Brown
#AC7E04
ΔE00 3.99
Puke Brown
#947706
ΔE00 4.28
Poo
#8F7303
ΔE00 5.11
Golden Brown
#B27A01
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F781F #1F469F
analogous
#9F381F #9F781F #869F1F
triadic
#9F781F #1F9F78 #781F9F
tetradic
#9F781F #1F9F38 #1F469F #9F1F86
square
#9F781F #1F9F38 #1F469F #9F1F86
split-complementary
#9F781F #1F869F #381F9F
monochromatic
#392B0B #6C5115 #9F781F #D29F29 #DFB65A
Accessibility & contrast
On white
4.05
#9F781F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#9F781F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F781F
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F781F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F781F | 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)
#88780D
Deuteranopia (green-blind)
#928224
Tritanopia (blue-blind)
#AD6C67
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9f781f; /* rgb */ color: rgb(159, 120, 31); /* oklch */ color: oklch(59.6% 0.112 83.1);
Tailwind
colors: {
custom: {
50: '#c09e62',
500: '#9f781f',
950: '#000000',
},
}SCSS
$custom: #9f781f; $custom-light: #c09e62; $custom-dark: #000000;
JSON
{
"hex": "#9f781f",
"rgb": {
"r": 159,
"g": 120,
"b": 31
},
"hsl": {
"h": 41.719,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.59599,
"c": 0.1116,
"h": 83.1
},
"luminance": 0.20903
}Semantic roles & 50–950 ramp
primary
#9F781F
secondary
#5778C3
accent
#72EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A