#9C8D4A#9C8D4A
#9C8D4A is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.089 H 97.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D4A |
|---|---|
| RGB | rgb(156, 141, 74) |
| HSL | hsl(49, 36%, 45%) |
| HSV | hsv(49, 53%, 61%) |
| CMYK | cmyk(0%, 9.6%, 52.6%, 38.8%) |
| CIE-LAB | lab(58.61, -3.53, 37.44) |
| CIE-LCH | lch(58.61, 37.61, 95.38°) |
| OKLab | oklab(64.2% -0.0109 0.0887) |
| OKLCH | oklch(64.2% 0.089 97) |
| XYZ | xyz(24.4720, 26.6131, 10.3250) |
| Luminance | 0.2661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.13
Dark Sand
#A88F59
ΔE00 4.99
Dark Beige
#AC9362
ΔE00 6.43
Drab
#828344
ΔE00 7.13
Khaki (survey)
#AAA662
ΔE00 8.13
Diarrhea
#9F8303
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D4A #4A599C
analogous
#9C644A #9C8D4A #829C4A
triadic
#9C8D4A #4A9C8D #8D4A9C
tetradic
#9C8D4A #4A9C64 #4A599C #9C4A82
square
#9C8D4A #4A9C64 #4A599C #9C4A82
split-complementary
#9C8D4A #4A829C #644A9C
monochromatic
#494223 #726736 #9C8D4A #B9AA6B #CCC294
Accessibility & contrast
On white
3.32
#9C8D4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#9C8D4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D4A
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D4A | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998A44
Deuteranopia (green-blind)
#9D8F4D
Tritanopia (blue-blind)
#A7847D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #9c8d4a; /* rgb */ color: rgb(156, 141, 74); /* oklch */ color: oklch(64.2% 0.089 97.0);
Tailwind
colors: {
custom: {
50: '#bbae7e',
500: '#9c8d4a',
950: '#000000',
},
}SCSS
$custom: #9c8d4a; $custom-light: #bbae7e; $custom-dark: #000000;
JSON
{
"hex": "#9c8d4a",
"rgb": {
"r": 156,
"g": 141,
"b": 74
},
"hsl": {
"h": 49.024,
"s": 35.652,
"l": 45.098
},
"oklch": {
"l": 0.64204,
"c": 0.08941,
"h": 97
},
"luminance": 0.26612
}Semantic roles & 50–950 ramp
primary
#9C8D4A
secondary
#8992B8
accent
#71CC5C
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C