#9C8C2A#9C8C2A
#9C8C2A is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.6% C 0.116 H 99.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8C2A |
|---|---|
| RGB | rgb(156, 140, 42) |
| HSL | hsl(52, 58%, 39%) |
| HSV | hsv(52, 73%, 61%) |
| CMYK | cmyk(0%, 10.3%, 73.1%, 38.8%) |
| CIE-LAB | lab(58.03, -5.24, 51.66) |
| CIE-LCH | lch(58.03, 51.93, 95.79°) |
| OKLab | oklab(63.64% -0.0196 0.1145) |
| OKLCH | oklch(63.64% 0.116 99.7) |
| XYZ | xyz(23.5074, 25.9924, 5.9689) |
| Luminance | 0.2599 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 4.85
Baby Poo
#AB9004
ΔE00 4.87
Dark Mustard
#A88905
ΔE00 5.10
Baby Shit Brown
#AD900D
ΔE00 5.12
Baby Poop
#937C00
ΔE00 6.02
Yellowy Brown
#AE8B0C
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8C2A #2A3A9C
analogous
#9C532A #9C8C2A #739C2A
triadic
#9C8C2A #2A9C8C #8C2A9C
tetradic
#9C8C2A #2A9C53 #2A3A9C #9C2A73
square
#9C8C2A #2A9C53 #2A3A9C #9C2A73
split-complementary
#9C8C2A #2A739C #532A9C
monochromatic
#3C3510 #6C611D #9C8C2A #CAB639 #D7C76A
Accessibility & contrast
On white
3.39
#9C8C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#9C8C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8C2A
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8C2A | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A881A
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8c2a; /* rgb */ color: rgb(156, 140, 42); /* oklch */ color: oklch(63.6% 0.116 99.7);
Tailwind
colors: {
custom: {
50: '#bdad6a',
500: '#9c8c2a',
950: '#000000',
},
}SCSS
$custom: #9c8c2a; $custom-light: #bdad6a; $custom-dark: #000000;
JSON
{
"hex": "#9c8c2a",
"rgb": {
"r": 156,
"g": 140,
"b": 42
},
"hsl": {
"h": 51.579,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.63641,
"c": 0.11621,
"h": 99.7
},
"luminance": 0.25991
}Semantic roles & 50–950 ramp
primary
#9C8C2A
secondary
#6571BD
accent
#5DE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A