#9A771B#9A771B
#9A771B is a mid, moderate orange. Relative luminance 0.201; OKLCH L 58.8% C 0.111 H 86.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9A771B |
|---|---|
| RGB | rgb(154, 119, 27) |
| HSL | hsl(43, 70%, 35%) |
| HSV | hsv(43, 82%, 60%) |
| CMYK | cmyk(0%, 22.7%, 82.5%, 39.6%) |
| CIE-LAB | lab(52.00, 4.90, 51.51) |
| CIE-LCH | lch(52.00, 51.74, 84.57°) |
| OKLab | oklab(58.8% 0.0078 0.1111) |
| OKLCH | oklch(58.8% 0.111 86) |
| XYZ | xyz(20.1224, 20.1443, 3.8651) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.61
Puke Brown
#947706
ΔE00 2.81
Poo
#8F7303
ΔE00 3.57
Hazel
#8E7618
ΔE00 3.84
Bronze (survey)
#A87900
ΔE00 4.06
Mustard Brown
#AC7E04
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A771B #1B3E9A
analogous
#9A381B #9A771B #7D9A1B
triadic
#9A771B #1B9A77 #771B9A
tetradic
#9A771B #1B9A38 #1B3E9A #9A1B7D
square
#9A771B #1B9A38 #1B3E9A #9A1B7D
split-complementary
#9A771B #1B7D9A #381B9A
monochromatic
#322709 #664F12 #9A771B #CE9F24 #E0B84F
Accessibility & contrast
On white
4.18
#9A771B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#9A771B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A771B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A771B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A771B | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877705
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#A86B66
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #9a771b; /* rgb */ color: rgb(154, 119, 27); /* oklch */ color: oklch(58.8% 0.111 86.0);
Tailwind
colors: {
custom: {
50: '#bc9d60',
500: '#9a771b',
950: '#000000',
},
}SCSS
$custom: #9a771b; $custom-light: #bc9d60; $custom-dark: #000000;
JSON
{
"hex": "#9a771b",
"rgb": {
"r": 154,
"g": 119,
"b": 27
},
"hsl": {
"h": 43.465,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.58803,
"c": 0.11141,
"h": 86
},
"luminance": 0.20143
}Semantic roles & 50–950 ramp
primary
#9A771B
secondary
#4E6EC3
accent
#6CED3B
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79