#9D781F#9D781F
#9D781F is a mid, moderate orange. Relative luminance 0.207; OKLCH L 59.4% C 0.111 H 84.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9D781F |
|---|---|
| RGB | rgb(157, 120, 31) |
| HSL | hsl(42, 67%, 37%) |
| HSV | hsv(42, 80%, 62%) |
| CMYK | cmyk(0%, 23.6%, 80.3%, 38.4%) |
| CIE-LAB | lab(52.62, 5.86, 50.78) |
| CIE-LCH | lch(52.62, 51.11, 83.41°) |
| OKLab | oklab(59.37% 0.0108 0.1103) |
| OKLCH | oklch(59.37% 0.111 84.4) |
| XYZ | xyz(20.8698, 20.7015, 4.1927) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 3.12
Bronze (survey)
#A87900
ΔE00 3.51
Puke Brown
#947706
ΔE00 3.70
Mustard Brown
#AC7E04
ΔE00 4.34
Poo
#8F7303
ΔE00 4.53
Hazel
#8E7618
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D781F #1F449D
analogous
#9D391F #9D781F #839D1F
triadic
#9D781F #1F9D78 #781F9D
tetradic
#9D781F #1F9D39 #1F449D #9D1F83
square
#9D781F #1F9D39 #1F449D #9D1F83
split-complementary
#9D781F #1F839D #391F9D
monochromatic
#372A0B #6A5115 #9D781F #D09F29 #DEB758
Accessibility & contrast
On white
4.09
#9D781F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#9D781F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D781F
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D781F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D781F | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#AB6C67
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9d781f; /* rgb */ color: rgb(157, 120, 31); /* oklch */ color: oklch(59.4% 0.111 84.4);
Tailwind
colors: {
custom: {
50: '#be9e62',
500: '#9d781f',
950: '#000000',
},
}SCSS
$custom: #9d781f; $custom-light: #be9e62; $custom-dark: #000000;
JSON
{
"hex": "#9d781f",
"rgb": {
"r": 157,
"g": 120,
"b": 31
},
"hsl": {
"h": 42.381,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.59373,
"c": 0.11083,
"h": 84.4
},
"luminance": 0.207
}Semantic roles & 50–950 ramp
primary
#9D781F
secondary
#5676C2
accent
#70EA3E
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A