#9C8D2D#9C8D2D
#9C8D2D is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.115 H 100.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D2D |
|---|---|
| RGB | rgb(156, 141, 45) |
| HSL | hsl(52, 55%, 39%) |
| HSV | hsv(52, 71%, 61%) |
| CMYK | cmyk(0%, 9.6%, 71.2%, 38.8%) |
| CIE-LAB | lab(58.33, -5.63, 50.75) |
| CIE-LCH | lch(58.33, 51.06, 96.33°) |
| OKLab | oklab(63.89% -0.0204 0.1132) |
| OKLCH | oklch(63.89% 0.115 100.2) |
| XYZ | xyz(23.7099, 26.3082, 6.3112) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.13
Diarrhea
#9F8303
ΔE00 5.33
Baby Shit Brown
#AD900D
ΔE00 5.38
Dark Mustard
#A88905
ΔE00 5.50
Dark Khaki
#9B8F55
ΔE00 6.45
Baby Poop
#937C00
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D2D #2D3C9C
analogous
#9C562D #9C8D2D #749C2D
triadic
#9C8D2D #2D9C8D #8D2D9C
tetradic
#9C8D2D #2D9C56 #2D3C9C #9C2D74
square
#9C8D2D #2D9C56 #2D3C9C #9C2D74
split-complementary
#9C8D2D #2D749C #562D9C
monochromatic
#3D3712 #6D621F #9C8D2D #C8B53F #D5C76E
Accessibility & contrast
On white
3.35
#9C8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#9C8D2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D2D
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D2D | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B891F
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8d2d; /* rgb */ color: rgb(156, 141, 45); /* oklch */ color: oklch(63.9% 0.115 100.2);
Tailwind
colors: {
custom: {
50: '#bcae6c',
500: '#9c8d2d',
950: '#000000',
},
}SCSS
$custom: #9c8d2d; $custom-light: #bcae6c; $custom-dark: #000000;
JSON
{
"hex": "#9c8d2d",
"rgb": {
"r": 156,
"g": 141,
"b": 45
},
"hsl": {
"h": 51.892,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.63885,
"c": 0.11501,
"h": 100.2
},
"luminance": 0.26307
}Semantic roles & 50–950 ramp
primary
#9C8D2D
secondary
#6874BC
accent
#5DDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A