#9A7B22#9A7B22
#9A7B22 is a mid, moderate orange. Relative luminance 0.212; OKLCH L 59.7% C 0.109 H 88.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9A7B22 |
|---|---|
| RGB | rgb(154, 123, 34) |
| HSL | hsl(45, 64%, 37%) |
| HSV | hsv(45, 78%, 60%) |
| CMYK | cmyk(0%, 20.1%, 77.9%, 39.6%) |
| CIE-LAB | lab(53.12, 2.91, 49.99) |
| CIE-LCH | lch(53.12, 50.07, 86.67°) |
| OKLab | oklab(59.69% 0.0028 0.1094) |
| OKLCH | oklch(59.69% 0.109 88.5) |
| XYZ | xyz(20.6994, 21.1528, 4.5057) |
| Luminance | 0.2115 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.46
Puke Brown
#947706
ΔE00 2.74
Hazel
#8E7618
ΔE00 3.44
Poo
#8F7303
ΔE00 3.95
Baby Poop
#937C00
ΔE00 4.00
Diarrhea
#9F8303
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A7B22 #22419A
analogous
#9A3F22 #9A7B22 #7D9A22
triadic
#9A7B22 #229A7B #7B229A
tetradic
#9A7B22 #229A3F #22419A #9A227D
square
#9A7B22 #229A3F #22419A #9A227D
split-complementary
#9A7B22 #227D9A #3F229A
monochromatic
#362B0C #685317 #9A7B22 #CCA32D #DBBA5B
Accessibility & contrast
On white
4.02
#9A7B22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#9A7B22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A7B22
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A7B22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A7B22 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#928227
Tritanopia (blue-blind)
#A7706A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9a7b22; /* rgb */ color: rgb(154, 123, 34); /* oklch */ color: oklch(59.7% 0.109 88.5);
Tailwind
colors: {
custom: {
50: '#bca064',
500: '#9a7b22',
950: '#000000',
},
}SCSS
$custom: #9a7b22; $custom-light: #bca064; $custom-dark: #000000;
JSON
{
"hex": "#9a7b22",
"rgb": {
"r": 154,
"g": 123,
"b": 34
},
"hsl": {
"h": 44.5,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.59694,
"c": 0.10948,
"h": 88.5
},
"luminance": 0.21151
}Semantic roles & 50–950 ramp
primary
#9A7B22
secondary
#5873BF
accent
#6CE741
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E06
muted
#827E7A