#9C8E56#9C8E56
#9C8E56 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.077 H 95.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8E56 |
|---|---|
| RGB | rgb(156, 142, 86) |
| HSL | hsl(48, 29%, 47%) |
| HSV | hsv(48, 45%, 61%) |
| CMYK | cmyk(0%, 9%, 44.9%, 38.8%) |
| CIE-LAB | lab(59.05, -2.88, 31.66) |
| CIE-LCH | lch(59.05, 31.79, 95.20°) |
| OKLab | oklab(64.61% -0.0078 0.0768) |
| OKLCH | oklch(64.61% 0.077 95.8) |
| XYZ | xyz(25.0637, 27.0867, 12.7103) |
| Luminance | 0.2709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 0.87
Dark Sand
#A88F59
ΔE00 4.13
Dark Beige
#AC9362
ΔE00 5.20
Dust
#B2996E
ΔE00 7.27
Drab
#828344
ΔE00 7.36
Khaki (survey)
#AAA662
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8E56 #56649C
analogous
#9C6B56 #9C8E56 #879C56
triadic
#9C8E56 #569C8E #8E569C
tetradic
#9C8E56 #569C6B #56649C #9C5687
square
#9C8E56 #569C6B #56649C #9C5687
split-complementary
#9C8E56 #56879C #6B569C
monochromatic
#4D462B #756A40 #9C8E56 #B6AA7A #CBC3A1
Accessibility & contrast
On white
3.27
#9C8E56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#9C8E56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8E56
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8E56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8E56 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998B52
Deuteranopia (green-blind)
#9C9058
Tritanopia (blue-blind)
#A68680
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8e56; /* rgb */ color: rgb(156, 142, 86); /* oklch */ color: oklch(64.6% 0.077 95.8);
Tailwind
colors: {
custom: {
50: '#baae86',
500: '#9c8e56',
950: '#000000',
},
}SCSS
$custom: #9c8e56; $custom-light: #baae86; $custom-dark: #000000;
JSON
{
"hex": "#9c8e56",
"rgb": {
"r": 156,
"g": 142,
"b": 86
},
"hsl": {
"h": 48,
"s": 28.926,
"l": 47.451
},
"oklch": {
"l": 0.64605,
"c": 0.07718,
"h": 95.8
},
"luminance": 0.27086
}Semantic roles & 50–950 ramp
primary
#9C8E56
secondary
#959CB9
accent
#76C563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C