#9B8720#9B8720
#9B8720 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.118 H 97.5°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8720 |
|---|---|
| RGB | rgb(155, 135, 32) |
| HSL | hsl(50, 66%, 37%) |
| HSV | hsv(50, 79%, 61%) |
| CMYK | cmyk(0%, 12.9%, 79.4%, 39.2%) |
| CIE-LAB | lab(56.49, -3.40, 53.87) |
| CIE-LCH | lch(56.49, 53.98, 93.62°) |
| OKLab | oklab(62.38% -0.0154 0.1173) |
| OKLCH | oklch(62.38% 0.118 97.5) |
| XYZ | xyz(22.4434, 24.4020, 4.8941) |
| Luminance | 0.2440 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.00
Dark Mustard
#A88905
ΔE00 4.00
Baby Poop
#937C00
ΔE00 4.11
Baby Poo
#AB9004
ΔE00 4.72
Baby Shit Brown
#AD900D
ΔE00 4.91
Yellowy Brown
#AE8B0C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8720 #20349B
analogous
#9B4A20 #9B8720 #729B20
triadic
#9B8720 #209B87 #87209B
tetradic
#9B8720 #209B4A #20349B #9B2072
square
#9B8720 #209B4A #20349B #9B2072
split-complementary
#9B8720 #20729B #4A209B
monochromatic
#362F0B #685B16 #9B8720 #CEB32A #DDC759
Accessibility & contrast
On white
3.57
#9B8720 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#9B8720 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8720
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8720 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8720 | 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)
#958407
Deuteranopia (green-blind)
#9B8A27
Tritanopia (blue-blind)
#A87C74
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9b8720; /* rgb */ color: rgb(155, 135, 32); /* oklch */ color: oklch(62.4% 0.118 97.5);
Tailwind
colors: {
custom: {
50: '#bca965',
500: '#9b8720',
950: '#000000',
},
}SCSS
$custom: #9b8720; $custom-light: #bca965; $custom-dark: #000000;
JSON
{
"hex": "#9b8720",
"rgb": {
"r": 155,
"g": 135,
"b": 32
},
"hsl": {
"h": 50.244,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.62377,
"c": 0.11828,
"h": 97.5
},
"luminance": 0.24401
}Semantic roles & 50–950 ramp
primary
#9B8720
secondary
#5667C1
accent
#5BE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A