#9C8D32#9C8D32
#9C8D32 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.111 H 99.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D32 |
|---|---|
| RGB | rgb(156, 141, 50) |
| HSL | hsl(52, 51%, 40%) |
| HSV | hsv(52, 68%, 61%) |
| CMYK | cmyk(0%, 9.6%, 67.9%, 38.8%) |
| CIE-LAB | lab(58.37, -5.35, 48.68) |
| CIE-LCH | lch(58.37, 48.97, 96.27°) |
| OKLab | oklab(63.93% -0.019 0.1097) |
| OKLCH | oklch(63.93% 0.111 99.8) |
| XYZ | xyz(23.8119, 26.3490, 6.8486) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.54
Diarrhea
#9F8303
ΔE00 5.62
Baby Shit Brown
#AD900D
ΔE00 5.73
Dark Mustard
#A88905
ΔE00 5.81
Dark Khaki
#9B8F55
ΔE00 5.82
Baby Poop
#937C00
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D32 #32419C
analogous
#9C5832 #9C8D32 #769C32
triadic
#9C8D32 #329C8D #8D329C
tetradic
#9C8D32 #329C58 #32419C #9C3276
square
#9C8D32 #329C58 #32419C #9C3276
split-complementary
#9C8D32 #32769C #58329C
monochromatic
#3F3914 #6E6323 #9C8D32 #C4B247 #D3C675
Accessibility & contrast
On white
3.35
#9C8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#9C8D32 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D32
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D32 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8926
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8d32; /* rgb */ color: rgb(156, 141, 50); /* oklch */ color: oklch(63.9% 0.111 99.8);
Tailwind
colors: {
custom: {
50: '#bcae6f',
500: '#9c8d32',
950: '#000000',
},
}SCSS
$custom: #9c8d32; $custom-light: #bcae6f; $custom-dark: #000000;
JSON
{
"hex": "#9c8d32",
"rgb": {
"r": 156,
"g": 141,
"b": 50
},
"hsl": {
"h": 51.509,
"s": 51.456,
"l": 40.392
},
"oklch": {
"l": 0.63928,
"c": 0.11133,
"h": 99.8
},
"luminance": 0.26348
}Semantic roles & 50–950 ramp
primary
#9C8D32
secondary
#6F79BB
accent
#61DB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B