#9C8D5B#9C8D5B
#9C8D5B is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.5% C 0.070 H 93.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8D5B |
|---|---|
| RGB | rgb(156, 141, 91) |
| HSL | hsl(46, 26%, 48%) |
| HSV | hsv(46, 42%, 61%) |
| CMYK | cmyk(0%, 9.6%, 41.7%, 38.8%) |
| CIE-LAB | lab(58.86, -1.77, 28.70) |
| CIE-LCH | lch(58.86, 28.76, 93.53°) |
| OKLab | oklab(64.48% -0.0041 0.0703) |
| OKLCH | oklch(64.48% 0.07 93.3) |
| XYZ | xyz(25.1241, 26.8739, 13.7593) |
| Luminance | 0.2687 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.23
Dark Sand
#A88F59
ΔE00 3.72
Dark Beige
#AC9362
ΔE00 4.57
Dust
#B2996E
ΔE00 6.54
Brown Grey
#8D8468
ΔE00 6.96
Dark Tan
#AF884A
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8D5B #5B6A9C
analogous
#9C6C5B #9C8D5B #8A9C5B
triadic
#9C8D5B #5B9C8D #8D5B9C
tetradic
#9C8D5B #5B9C6C #5B6A9C #9C5B8A
square
#9C8D5B #5B9C6C #5B6A9C #9C5B8A
split-complementary
#9C8D5B #5B8A9C #6C5B9C
monochromatic
#4F472E #756A44 #9C8D5B #B5A880 #CBC3A6
Accessibility & contrast
On white
3.29
#9C8D5B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#9C8D5B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8D5B
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8D5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8D5B | 1.00 | 3.29 | 6.37 | 6.37 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978B57
Deuteranopia (green-blind)
#9B905D
Tritanopia (blue-blind)
#A58680
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8d5b; /* rgb */ color: rgb(156, 141, 91); /* oklch */ color: oklch(64.5% 0.070 93.3);
Tailwind
colors: {
custom: {
50: '#baae8a',
500: '#9c8d5b',
950: '#000000',
},
}SCSS
$custom: #9c8d5b; $custom-light: #baae8a; $custom-dark: #000000;
JSON
{
"hex": "#9c8d5b",
"rgb": {
"r": 156,
"g": 141,
"b": 91
},
"hsl": {
"h": 46.154,
"s": 26.316,
"l": 48.431
},
"oklch": {
"l": 0.64475,
"c": 0.07044,
"h": 93.3
},
"luminance": 0.26873
}Semantic roles & 50–950 ramp
primary
#9C8D5B
secondary
#9AA1B9
accent
#7BC365
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D