#9C8A4E#9C8A4E
#9C8A4E is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.083 H 93.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A4E |
|---|---|
| RGB | rgb(156, 138, 78) |
| HSL | hsl(46, 33%, 46%) |
| HSV | hsv(46, 50%, 61%) |
| CMYK | cmyk(0%, 11.5%, 50%, 38.8%) |
| CIE-LAB | lab(57.84, -1.49, 34.42) |
| CIE-LCH | lch(57.84, 34.45, 92.49°) |
| OKLab | oklab(63.61% -0.0046 0.0824) |
| OKLCH | oklch(63.61% 0.083 93.2) |
| XYZ | xyz(24.1747, 25.7960, 10.9120) |
| Luminance | 0.2580 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.49
Dark Sand
#A88F59
ΔE00 3.77
Dark Beige
#AC9362
ΔE00 5.37
Dark Tan
#AF884A
ΔE00 6.99
Coffee
#A6814C
ΔE00 7.33
Drab
#828344
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A4E #4E609C
analogous
#9C634E #9C8A4E #879C4E
triadic
#9C8A4E #4E9C8A #8A4E9C
tetradic
#9C8A4E #4E9C63 #4E609C #9C4E87
square
#9C8A4E #4E9C63 #4E609C #9C4E87
split-complementary
#9C8A4E #4E879C #634E9C
monochromatic
#4A4225 #73663A #9C8A4E #B7A770 #CCC099
Accessibility & contrast
On white
3.41
#9C8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#9C8A4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A4E
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A4E | 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)
#958849
Deuteranopia (green-blind)
#9A8D50
Tritanopia (blue-blind)
#A7827C
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a4e; /* rgb */ color: rgb(156, 138, 78); /* oklch */ color: oklch(63.6% 0.083 93.2);
Tailwind
colors: {
custom: {
50: '#bbac81',
500: '#9c8a4e',
950: '#000000',
},
}SCSS
$custom: #9c8a4e; $custom-light: #bbac81; $custom-dark: #000000;
JSON
{
"hex": "#9c8a4e",
"rgb": {
"r": 156,
"g": 138,
"b": 78
},
"hsl": {
"h": 46.154,
"s": 33.333,
"l": 45.882
},
"oklch": {
"l": 0.63611,
"c": 0.08254,
"h": 93.2
},
"luminance": 0.25795
}Semantic roles & 50–950 ramp
primary
#9C8A4E
secondary
#8D97B8
accent
#77C95E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C