#9C8D2A#9C8D2A
#9C8D2A is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.117 H 100.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D2A |
|---|---|
| RGB | rgb(156, 141, 42) |
| HSL | hsl(52, 58%, 39%) |
| HSV | hsv(52, 73%, 61%) |
| CMYK | cmyk(0%, 9.6%, 73.1%, 38.8%) |
| CIE-LAB | lab(58.31, -5.79, 51.93) |
| CIE-LCH | lch(58.31, 52.26, 96.36°) |
| OKLab | oklab(63.86% -0.0212 0.1151) |
| OKLCH | oklch(63.86% 0.117 100.4) |
| XYZ | xyz(23.6542, 26.2859, 6.0178) |
| Luminance | 0.2628 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.92
Diarrhea
#9F8303
ΔE00 5.19
Baby Shit Brown
#AD900D
ΔE00 5.21
Dark Mustard
#A88905
ΔE00 5.35
Brown Yellow
#B29705
ΔE00 6.28
Baby Poop
#937C00
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D2A #2A399C
analogous
#9C542A #9C8D2A #729C2A
triadic
#9C8D2A #2A9C8D #8D2A9C
tetradic
#9C8D2A #2A9C54 #2A399C #9C2A72
square
#9C8D2A #2A9C54 #2A399C #9C2A72
split-complementary
#9C8D2A #2A729C #542A9C
monochromatic
#3C3610 #6C611D #9C8D2A #CAB739 #D7C86A
Accessibility & contrast
On white
3.36
#9C8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#9C8D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D2A
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D2A | 1.00 | 3.36 | 6.26 | 6.26 |
| #FFFFFF | 3.36 | 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)
#9B891A
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#A88379
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8d2a; /* rgb */ color: rgb(156, 141, 42); /* oklch */ color: oklch(63.9% 0.117 100.4);
Tailwind
colors: {
custom: {
50: '#bdae6a',
500: '#9c8d2a',
950: '#000000',
},
}SCSS
$custom: #9c8d2a; $custom-light: #bdae6a; $custom-dark: #000000;
JSON
{
"hex": "#9c8d2a",
"rgb": {
"r": 156,
"g": 141,
"b": 42
},
"hsl": {
"h": 52.105,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.63862,
"c": 0.11705,
"h": 100.4
},
"luminance": 0.26285
}Semantic roles & 50–950 ramp
primary
#9C8D2A
secondary
#6570BD
accent
#5BE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A