#9C8D2C#9C8D2C
#9C8D2C is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.116 H 100.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D2C |
|---|---|
| RGB | rgb(156, 141, 44) |
| HSL | hsl(52, 56%, 39%) |
| HSV | hsv(52, 72%, 61%) |
| CMYK | cmyk(0%, 9.6%, 71.8%, 38.8%) |
| CIE-LAB | lab(58.32, -5.68, 51.15) |
| CIE-LCH | lch(58.32, 51.47, 96.34°) |
| OKLab | oklab(63.88% -0.0207 0.1138) |
| OKLCH | oklch(63.88% 0.116 100.3) |
| XYZ | xyz(23.6909, 26.3006, 6.2110) |
| Luminance | 0.2630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 5.06
Diarrhea
#9F8303
ΔE00 5.28
Baby Shit Brown
#AD900D
ΔE00 5.32
Dark Mustard
#A88905
ΔE00 5.45
Brown Yellow
#B29705
ΔE00 6.41
Baby Poop
#937C00
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D2C #2C3B9C
analogous
#9C552C #9C8D2C #739C2C
triadic
#9C8D2C #2C9C8D #8D2C9C
tetradic
#9C8D2C #2C9C55 #2C3B9C #9C2C73
square
#9C8D2C #2C9C55 #2C3B9C #9C2C73
split-complementary
#9C8D2C #2C739C #552C9C
monochromatic
#3D3711 #6C621F #9C8D2C #C8B63D #D6C86D
Accessibility & contrast
On white
3.35
#9C8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#9C8D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D2C
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D2C | 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)
#9B891D
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8d2c; /* rgb */ color: rgb(156, 141, 44); /* oklch */ color: oklch(63.9% 0.116 100.3);
Tailwind
colors: {
custom: {
50: '#bdae6c',
500: '#9c8d2c',
950: '#000000',
},
}SCSS
$custom: #9c8d2c; $custom-light: #bdae6c; $custom-dark: #000000;
JSON
{
"hex": "#9c8d2c",
"rgb": {
"r": 156,
"g": 141,
"b": 44
},
"hsl": {
"h": 51.964,
"s": 56,
"l": 39.216
},
"oklch": {
"l": 0.63877,
"c": 0.1157,
"h": 100.3
},
"luminance": 0.263
}Semantic roles & 50–950 ramp
primary
#9C8D2C
secondary
#6773BD
accent
#5DDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A