#9C8D5C#9C8D5C
#9C8D5C is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.5% C 0.069 H 93.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D5C |
|---|---|
| RGB | rgb(156, 141, 92) |
| HSL | hsl(46, 26%, 49%) |
| HSV | hsv(46, 41%, 61%) |
| CMYK | cmyk(0%, 9.6%, 41%, 38.8%) |
| CIE-LAB | lab(58.87, -1.66, 28.18) |
| CIE-LCH | lch(58.87, 28.22, 93.37°) |
| OKLab | oklab(64.49% -0.0037 0.0692) |
| OKLCH | oklch(64.49% 0.069 93) |
| XYZ | xyz(25.1675, 26.8913, 13.9880) |
| Luminance | 0.2689 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.44
Dark Sand
#A88F59
ΔE00 3.75
Dark Beige
#AC9362
ΔE00 4.52
Dust
#B2996E
ΔE00 6.44
Brown Grey
#8D8468
ΔE00 6.78
Dark Tan
#AF884A
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D5C #5C6B9C
analogous
#9C6D5C #9C8D5C #8B9C5C
triadic
#9C8D5C #5C9C8D #8D5C9C
tetradic
#9C8D5C #5C9C6D #5C6B9C #9C5C8B
square
#9C8D5C #5C9C6D #5C6B9C #9C5C8B
split-complementary
#9C8D5C #5C8B9C #6D5C9C
monochromatic
#4F472F #766A45 #9C8D5C #B5A881 #CBC3A7
Accessibility & contrast
On white
3.29
#9C8D5C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9C8D5C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D5C
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D5C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D5C | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978B58
Deuteranopia (green-blind)
#9B905E
Tritanopia (blue-blind)
#A58681
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8d5c; /* rgb */ color: rgb(156, 141, 92); /* oklch */ color: oklch(64.5% 0.069 93.0);
Tailwind
colors: {
custom: {
50: '#baae8b',
500: '#9c8d5c',
950: '#000000',
},
}SCSS
$custom: #9c8d5c; $custom-light: #baae8b; $custom-dark: #000000;
JSON
{
"hex": "#9c8d5c",
"rgb": {
"r": 156,
"g": 141,
"b": 92
},
"hsl": {
"h": 45.938,
"s": 25.806,
"l": 48.627
},
"oklch": {
"l": 0.64493,
"c": 0.06926,
"h": 93
},
"luminance": 0.2689
}Semantic roles & 50–950 ramp
primary
#9C8D5C
secondary
#9BA2B9
accent
#7BC266
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D