#9C8B4F#9C8B4F
#9C8B4F is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.082 H 94.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8B4F |
|---|---|
| RGB | rgb(156, 139, 79) |
| HSL | hsl(47, 33%, 46%) |
| HSV | hsv(47, 49%, 61%) |
| CMYK | cmyk(0%, 10.9%, 49.4%, 38.8%) |
| CIE-LAB | lab(58.13, -1.95, 34.24) |
| CIE-LCH | lch(58.13, 34.30, 93.26°) |
| OKLab | oklab(63.84% -0.0058 0.0821) |
| OKLCH | oklch(63.84% 0.082 94) |
| XYZ | xyz(24.3550, 26.0987, 11.1503) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.05
Dark Sand
#A88F59
ΔE00 3.87
Dark Beige
#AC9362
ΔE00 5.38
Dark Tan
#AF884A
ΔE00 7.31
Drab
#828344
ΔE00 7.44
Coffee
#A6814C
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8B4F #4F609C
analogous
#9C644F #9C8B4F #869C4F
triadic
#9C8B4F #4F9C8B #8B4F9C
tetradic
#9C8B4F #4F9C64 #4F609C #9C4F86
square
#9C8B4F #4F9C64 #4F609C #9C4F86
split-complementary
#9C8B4F #4F869C #644F9C
monochromatic
#4B4326 #73673A #9C8B4F #B7A871 #CCC19A
Accessibility & contrast
On white
3.38
#9C8B4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#9C8B4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8B4F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8B4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8B4F | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96894A
Deuteranopia (green-blind)
#9B8E51
Tritanopia (blue-blind)
#A6837D
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #9c8b4f; /* rgb */ color: rgb(156, 139, 79); /* oklch */ color: oklch(63.8% 0.082 94.0);
Tailwind
colors: {
custom: {
50: '#bbac81',
500: '#9c8b4f',
950: '#000000',
},
}SCSS
$custom: #9c8b4f; $custom-light: #bbac81; $custom-dark: #000000;
JSON
{
"hex": "#9c8b4f",
"rgb": {
"r": 156,
"g": 139,
"b": 79
},
"hsl": {
"h": 46.753,
"s": 32.766,
"l": 46.078
},
"oklch": {
"l": 0.63842,
"c": 0.0823,
"h": 94
},
"luminance": 0.26098
}Semantic roles & 50–950 ramp
primary
#9C8B4F
secondary
#8E98B8
accent
#76C95F
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C