#9C8A4F#9C8A4F
#9C8A4F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.081 H 92.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A4F |
|---|---|
| RGB | rgb(156, 138, 79) |
| HSL | hsl(46, 33%, 46%) |
| HSV | hsv(46, 49%, 61%) |
| CMYK | cmyk(0%, 11.5%, 49.4%, 38.8%) |
| CIE-LAB | lab(57.86, -1.40, 33.90) |
| CIE-LCH | lch(57.86, 33.93, 92.36°) |
| OKLab | oklab(63.63% -0.0042 0.0813) |
| OKLCH | oklch(63.63% 0.081 92.9) |
| XYZ | xyz(24.2108, 25.8104, 11.1022) |
| Luminance | 0.2581 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.47
Dark Sand
#A88F59
ΔE00 3.67
Dark Beige
#AC9362
ΔE00 5.24
Dark Tan
#AF884A
ΔE00 6.96
Coffee
#A6814C
ΔE00 7.25
Drab
#828344
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A4F #4F619C
analogous
#9C634F #9C8A4F #879C4F
triadic
#9C8A4F #4F9C8A #8A4F9C
tetradic
#9C8A4F #4F9C63 #4F619C #9C4F87
square
#9C8A4F #4F9C63 #4F619C #9C4F87
split-complementary
#9C8A4F #4F879C #634F9C
monochromatic
#4B4226 #73663A #9C8A4F #B7A771 #CCC09A
Accessibility & contrast
On white
3.41
#9C8A4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#9C8A4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A4F
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A4F | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95884A
Deuteranopia (green-blind)
#9A8D51
Tritanopia (blue-blind)
#A7827C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a4f; /* rgb */ color: rgb(156, 138, 79); /* oklch */ color: oklch(63.6% 0.081 92.9);
Tailwind
colors: {
custom: {
50: '#bbac81',
500: '#9c8a4f',
950: '#000000',
},
}SCSS
$custom: #9c8a4f; $custom-light: #bbac81; $custom-dark: #000000;
JSON
{
"hex": "#9c8a4f",
"rgb": {
"r": 156,
"g": 138,
"b": 79
},
"hsl": {
"h": 45.974,
"s": 32.766,
"l": 46.078
},
"oklch": {
"l": 0.63626,
"c": 0.08145,
"h": 92.9
},
"luminance": 0.25809
}Semantic roles & 50–950 ramp
primary
#9C8A4F
secondary
#8E98B8
accent
#78C95F
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C