#9A791B#9A791B
#9A791B is a mid, moderate orange. Relative luminance 0.206; OKLCH L 59.2% C 0.112 H 87.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9A791B |
|---|---|
| RGB | rgb(154, 121, 27) |
| HSL | hsl(44, 70%, 35%) |
| HSV | hsv(44, 82%, 60%) |
| CMYK | cmyk(0%, 21.4%, 82.5%, 39.6%) |
| CIE-LAB | lab(52.54, 3.77, 51.99) |
| CIE-LCH | lch(52.54, 52.12, 85.86°) |
| OKLab | oklab(59.23% 0.0045 0.1122) |
| OKLCH | oklch(59.23% 0.112 87.7) |
| XYZ | xyz(20.3629, 20.6253, 3.9453) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 1.98
Puke Brown
#947706
ΔE00 2.32
Hazel
#8E7618
ΔE00 3.45
Poo
#8F7303
ΔE00 3.46
Baby Poop
#937C00
ΔE00 4.14
Bronze (survey)
#A87900
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A791B #1B3C9A
analogous
#9A391B #9A791B #7C9A1B
triadic
#9A791B #1B9A79 #791B9A
tetradic
#9A791B #1B9A39 #1B3C9A #9A1B7C
square
#9A791B #1B9A39 #1B3C9A #9A1B7C
split-complementary
#9A791B #1B7C9A #391B9A
monochromatic
#322709 #665012 #9A791B #CEA224 #E0BB4F
Accessibility & contrast
On white
4.10
#9A791B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#9A791B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A791B
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A791B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A791B | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897804
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#A86D68
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9a791b; /* rgb */ color: rgb(154, 121, 27); /* oklch */ color: oklch(59.2% 0.112 87.7);
Tailwind
colors: {
custom: {
50: '#bc9f61',
500: '#9a791b',
950: '#000000',
},
}SCSS
$custom: #9a791b; $custom-light: #bc9f61; $custom-dark: #000000;
JSON
{
"hex": "#9a791b",
"rgb": {
"r": 154,
"g": 121,
"b": 27
},
"hsl": {
"h": 44.409,
"s": 70.166,
"l": 35.49
},
"oklch": {
"l": 0.59225,
"c": 0.11226,
"h": 87.7
},
"luminance": 0.20624
}Semantic roles & 50–950 ramp
primary
#9A791B
secondary
#4E6CC3
accent
#69ED3B
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A