#9C8E5F#9C8E5F
#9C8E5F is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.8% C 0.067 H 93.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8E5F |
|---|---|
| RGB | rgb(156, 142, 95) |
| HSL | hsl(46, 24%, 49%) |
| HSV | hsv(46, 39%, 61%) |
| CMYK | cmyk(0%, 9%, 39.1%, 38.8%) |
| CIE-LAB | lab(59.20, -1.86, 26.95) |
| CIE-LCH | lch(59.20, 27.02, 93.94°) |
| OKLab | oklab(64.76% -0.004 0.0665) |
| OKLCH | oklch(64.76% 0.067 93.5) |
| XYZ | xyz(25.4494, 27.2410, 14.7417) |
| Luminance | 0.2724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.73
Dark Sand
#A88F59
ΔE00 4.08
Dark Beige
#AC9362
ΔE00 4.61
Dust
#B2996E
ΔE00 6.32
Brown Grey
#8D8468
ΔE00 6.47
Drab
#828344
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8E5F #5F6D9C
analogous
#9C705F #9C8E5F #8C9C5F
triadic
#9C8E5F #5F9C8E #8E5F9C
tetradic
#9C8E5F #5F9C70 #5F6D9C #9C5F8C
square
#9C8E5F #5F9C70 #5F6D9C #9C5F8C
split-complementary
#9C8E5F #5F8C9C #705F9C
monochromatic
#504931 #766B48 #9C8E5F #B4A984 #CBC4AA
Accessibility & contrast
On white
3.26
#9C8E5F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#9C8E5F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8E5F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8E5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8E5F | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988C5C
Deuteranopia (green-blind)
#9B9061
Tritanopia (blue-blind)
#A58782
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8e5f; /* rgb */ color: rgb(156, 142, 95); /* oklch */ color: oklch(64.8% 0.067 93.5);
Tailwind
colors: {
custom: {
50: '#baae8d',
500: '#9c8e5f',
950: '#000000',
},
}SCSS
$custom: #9c8e5f; $custom-light: #baae8d; $custom-dark: #000000;
JSON
{
"hex": "#9c8e5f",
"rgb": {
"r": 156,
"g": 142,
"b": 95
},
"hsl": {
"h": 46.23,
"s": 24.303,
"l": 49.216
},
"oklch": {
"l": 0.64764,
"c": 0.06659,
"h": 93.5
},
"luminance": 0.2724
}Semantic roles & 50–950 ramp
primary
#9C8E5F
secondary
#9DA4BA
accent
#7CC167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D