#9C8D3A#9C8D3A
#9C8D3A is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.105 H 99.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D3A |
|---|---|
| RGB | rgb(156, 141, 58) |
| HSL | hsl(51, 46%, 42%) |
| HSV | hsv(51, 63%, 61%) |
| CMYK | cmyk(0%, 9.6%, 62.8%, 38.8%) |
| CIE-LAB | lab(58.44, -4.82, 45.14) |
| CIE-LCH | lch(58.44, 45.40, 96.10°) |
| OKLab | oklab(64.01% -0.0166 0.1035) |
| OKLCH | oklch(64.01% 0.105 99.1) |
| XYZ | xyz(23.9999, 26.4242, 7.8384) |
| Luminance | 0.2642 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.71
Diarrhea
#9F8303
ΔE00 6.25
Baby Poo
#AB9004
ΔE00 6.35
Baby Shit Brown
#AD900D
ΔE00 6.44
Dark Mustard
#A88905
ΔE00 6.46
Dark Sand
#A88F59
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D3A #3A499C
analogous
#9C5C3A #9C8D3A #7A9C3A
triadic
#9C8D3A #3A9C8D #8D3A9C
tetradic
#9C8D3A #3A9C5C #3A499C #9C3A7A
square
#9C8D3A #3A9C5C #3A499C #9C3A7A
split-complementary
#9C8D3A #3A7A9C #5C3A9C
monochromatic
#433C19 #6F6529 #9C8D3A #BFAF54 #D0C480
Accessibility & contrast
On white
3.34
#9C8D3A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#9C8D3A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D3A
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D3A | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8931
Deuteranopia (green-blind)
#9E8F3E
Tritanopia (blue-blind)
#A8837B
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8d3a; /* rgb */ color: rgb(156, 141, 58); /* oklch */ color: oklch(64.0% 0.105 99.1);
Tailwind
colors: {
custom: {
50: '#bcae74',
500: '#9c8d3a',
950: '#000000',
},
}SCSS
$custom: #9c8d3a; $custom-light: #bcae74; $custom-dark: #000000;
JSON
{
"hex": "#9c8d3a",
"rgb": {
"r": 156,
"g": 141,
"b": 58
},
"hsl": {
"h": 50.816,
"s": 45.794,
"l": 41.961
},
"oklch": {
"l": 0.64007,
"c": 0.10477,
"h": 99.1
},
"luminance": 0.26423
}Semantic roles & 50–950 ramp
primary
#9C8D3A
secondary
#7882BA
accent
#66D552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B