#9C8F56#9C8F56
#9C8F56 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.078 H 96.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F56 |
|---|---|
| RGB | rgb(156, 143, 86) |
| HSL | hsl(49, 29%, 47%) |
| HSV | hsv(49, 45%, 61%) |
| CMYK | cmyk(0%, 8.3%, 44.9%, 38.8%) |
| CIE-LAB | lab(59.33, -3.43, 32.01) |
| CIE-LCH | lch(59.33, 32.19, 96.12°) |
| OKLab | oklab(64.82% -0.0093 0.0776) |
| OKLCH | oklch(64.82% 0.078 96.9) |
| XYZ | xyz(25.2131, 27.3856, 12.7601) |
| Luminance | 0.2738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.43
Dark Sand
#A88F59
ΔE00 4.46
Dark Beige
#AC9362
ΔE00 5.47
Drab
#828344
ΔE00 7.25
Dust
#B2996E
ΔE00 7.46
Khaki (survey)
#AAA662
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F56 #56639C
analogous
#9C6C56 #9C8F56 #869C56
triadic
#9C8F56 #569C8F #8F569C
tetradic
#9C8F56 #569C6C #56639C #9C5686
square
#9C8F56 #569C6C #56639C #9C5686
split-complementary
#9C8F56 #56869C #6C569C
monochromatic
#4D472B #756B40 #9C8F56 #B6AA7A #CBC3A1
Accessibility & contrast
On white
3.24
#9C8F56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#9C8F56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F56
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F56 | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998C52
Deuteranopia (green-blind)
#9D9158
Tritanopia (blue-blind)
#A68781
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9c8f56; /* rgb */ color: rgb(156, 143, 86); /* oklch */ color: oklch(64.8% 0.078 96.9);
Tailwind
colors: {
custom: {
50: '#baaf86',
500: '#9c8f56',
950: '#000000',
},
}SCSS
$custom: #9c8f56; $custom-light: #baaf86; $custom-dark: #000000;
JSON
{
"hex": "#9c8f56",
"rgb": {
"r": 156,
"g": 143,
"b": 86
},
"hsl": {
"h": 48.857,
"s": 28.926,
"l": 47.451
},
"oklch": {
"l": 0.64823,
"c": 0.07813,
"h": 96.9
},
"luminance": 0.27385
}Semantic roles & 50–950 ramp
primary
#9C8F56
secondary
#959CB9
accent
#75C563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C