#9C8A4A#9C8A4A
#9C8A4A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.6% C 0.087 H 94.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A4A |
|---|---|
| RGB | rgb(156, 138, 74) |
| HSL | hsl(47, 36%, 45%) |
| HSV | hsv(47, 53%, 61%) |
| CMYK | cmyk(0%, 11.5%, 52.6%, 38.8%) |
| CIE-LAB | lab(57.79, -1.87, 36.45) |
| CIE-LCH | lch(57.79, 36.50, 92.94°) |
| OKLab | oklab(63.55% -0.0061 0.0866) |
| OKLCH | oklch(63.55% 0.087 94) |
| XYZ | xyz(24.0357, 25.7403, 10.1796) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.72
Dark Sand
#A88F59
ΔE00 4.24
Dark Beige
#AC9362
ΔE00 5.89
Dark Tan
#AF884A
ΔE00 7.18
Drab
#828344
ΔE00 7.48
Coffee
#A6814C
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A4A #4A5C9C
analogous
#9C614A #9C8A4A #859C4A
triadic
#9C8A4A #4A9C8A #8A4A9C
tetradic
#9C8A4A #4A9C61 #4A5C9C #9C4A85
square
#9C8A4A #4A9C61 #4A5C9C #9C4A85
split-complementary
#9C8A4A #4A859C #614A9C
monochromatic
#494123 #726536 #9C8A4A #B9A76B #CCC094
Accessibility & contrast
On white
3.42
#9C8A4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#9C8A4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A4A
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A4A | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968844
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#A7817B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a4a; /* rgb */ color: rgb(156, 138, 74); /* oklch */ color: oklch(63.6% 0.087 94.0);
Tailwind
colors: {
custom: {
50: '#bbac7e',
500: '#9c8a4a',
950: '#000000',
},
}SCSS
$custom: #9c8a4a; $custom-light: #bbac7e; $custom-dark: #000000;
JSON
{
"hex": "#9c8a4a",
"rgb": {
"r": 156,
"g": 138,
"b": 74
},
"hsl": {
"h": 46.829,
"s": 35.652,
"l": 45.098
},
"oklch": {
"l": 0.63552,
"c": 0.08679,
"h": 94
},
"luminance": 0.25739
}Semantic roles & 50–950 ramp
primary
#9C8A4A
secondary
#8994B8
accent
#75CC5C
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C