#9B8721#9B8721
#9B8721 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.118 H 97.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8721 |
|---|---|
| RGB | rgb(155, 135, 33) |
| HSL | hsl(50, 65%, 37%) |
| HSV | hsv(50, 79%, 61%) |
| CMYK | cmyk(0%, 12.9%, 78.7%, 39.2%) |
| CIE-LAB | lab(56.49, -3.36, 53.53) |
| CIE-LCH | lch(56.49, 53.63, 93.60°) |
| OKLab | oklab(62.38% -0.0152 0.1168) |
| OKLCH | oklch(62.38% 0.118 97.4) |
| XYZ | xyz(22.4572, 24.4075, 4.9668) |
| Luminance | 0.2441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.04
Dark Mustard
#A88905
ΔE00 4.04
Baby Poop
#937C00
ΔE00 4.14
Baby Poo
#AB9004
ΔE00 4.77
Baby Shit Brown
#AD900D
ΔE00 4.95
Yellowy Brown
#AE8B0C
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8721 #21359B
analogous
#9B4A21 #9B8721 #729B21
triadic
#9B8721 #219B87 #87219B
tetradic
#9B8721 #219B4A #21359B #9B2172
square
#9B8721 #219B4A #21359B #9B2172
split-complementary
#9B8721 #21729B #4A219B
monochromatic
#362F0C #695B16 #9B8721 #CDB32C #DCC75A
Accessibility & contrast
On white
3.57
#9B8721 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#9B8721 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8721
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8721 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8721 | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95840A
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#A87C74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9b8721; /* rgb */ color: rgb(155, 135, 33); /* oklch */ color: oklch(62.4% 0.118 97.4);
Tailwind
colors: {
custom: {
50: '#bca965',
500: '#9b8721',
950: '#000000',
},
}SCSS
$custom: #9b8721; $custom-light: #bca965; $custom-dark: #000000;
JSON
{
"hex": "#9b8721",
"rgb": {
"r": 155,
"g": 135,
"b": 33
},
"hsl": {
"h": 50.164,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.62383,
"c": 0.11774,
"h": 97.4
},
"luminance": 0.24406
}Semantic roles & 50–950 ramp
primary
#9B8721
secondary
#5869C0
accent
#5BE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A