#9B8622#9B8622
#9B8622 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.2% C 0.116 H 96.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8622 |
|---|---|
| RGB | rgb(155, 134, 34) |
| HSL | hsl(50, 64%, 37%) |
| HSV | hsv(50, 78%, 61%) |
| CMYK | cmyk(0%, 13.5%, 78.1%, 39.2%) |
| CIE-LAB | lab(56.22, -2.77, 52.92) |
| CIE-LCH | lch(56.22, 53.00, 93.00°) |
| OKLab | oklab(62.17% -0.0134 0.1157) |
| OKLCH | oklch(62.17% 0.116 96.6) |
| XYZ | xyz(22.3326, 24.1355, 4.9954) |
| Luminance | 0.2413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.84
Baby Poop
#937C00
ΔE00 3.89
Dark Mustard
#A88905
ΔE00 4.00
Baby Poo
#AB9004
ΔE00 4.97
Baby Shit Brown
#AD900D
ΔE00 5.11
Yellowy Brown
#AE8B0C
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8622 #22379B
analogous
#9B4A22 #9B8622 #749B22
triadic
#9B8622 #229B86 #86229B
tetradic
#9B8622 #229B4A #22379B #9B2274
square
#9B8622 #229B4A #22379B #9B2274
split-complementary
#9B8622 #22749B #4A229B
monochromatic
#372F0C #695B17 #9B8622 #CDB12D #DBC55C
Accessibility & contrast
On white
3.60
#9B8622 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#9B8622 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8622
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8622 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8622 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9b8622; /* rgb */ color: rgb(155, 134, 34); /* oklch */ color: oklch(62.2% 0.116 96.6);
Tailwind
colors: {
custom: {
50: '#bca866',
500: '#9b8622',
950: '#000000',
},
}SCSS
$custom: #9b8622; $custom-light: #bca866; $custom-dark: #000000;
JSON
{
"hex": "#9b8622",
"rgb": {
"r": 155,
"g": 134,
"b": 34
},
"hsl": {
"h": 49.587,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.62171,
"c": 0.11644,
"h": 96.6
},
"luminance": 0.24134
}Semantic roles & 50–950 ramp
primary
#9B8622
secondary
#596BC0
accent
#5EE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A