#9B781A#9B781A
#9B781A is a mid, moderate orange. Relative luminance 0.205; OKLCH L 59.1% C 0.113 H 86.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9B781A |
|---|---|
| RGB | rgb(155, 120, 26) |
| HSL | hsl(44, 71%, 35%) |
| HSV | hsv(44, 83%, 61%) |
| CMYK | cmyk(0%, 22.6%, 83.2%, 39.2%) |
| CIE-LAB | lab(52.37, 4.76, 52.22) |
| CIE-LCH | lch(52.37, 52.43, 84.79°) |
| OKLab | oklab(59.12% 0.0072 0.1124) |
| OKLCH | oklch(59.12% 0.113 86.3) |
| XYZ | xyz(20.4218, 20.4776, 3.8540) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.27
Puke Brown
#947706
ΔE00 2.73
Poo
#8F7303
ΔE00 3.69
Bronze (survey)
#A87900
ΔE00 3.87
Hazel
#8E7618
ΔE00 3.92
Mustard Brown
#AC7E04
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B781A #1A3D9B
analogous
#9B371A #9B781A #7D9B1A
triadic
#9B781A #1A9B78 #781A9B
tetradic
#9B781A #1A9B37 #1A3D9B #9B1A7D
square
#9B781A #1A9B37 #1A3D9B #9B1A7D
split-complementary
#9B781A #1A7D9B #371A9B
monochromatic
#322708 #674F11 #9B781A #CFA123 #E1B94E
Accessibility & contrast
On white
4.12
#9B781A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#9B781A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B781A
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B781A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B781A | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887802
Deuteranopia (green-blind)
#908120
Tritanopia (blue-blind)
#A96C67
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9b781a; /* rgb */ color: rgb(155, 120, 26); /* oklch */ color: oklch(59.1% 0.113 86.3);
Tailwind
colors: {
custom: {
50: '#bd9e60',
500: '#9b781a',
950: '#000000',
},
}SCSS
$custom: #9b781a; $custom-light: #bd9e60; $custom-dark: #000000;
JSON
{
"hex": "#9b781a",
"rgb": {
"r": 155,
"g": 120,
"b": 26
},
"hsl": {
"h": 43.721,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.59119,
"c": 0.11261,
"h": 86.3
},
"luminance": 0.20476
}Semantic roles & 50–950 ramp
primary
#9B781A
secondary
#4D6DC4
accent
#6BEE3A
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79