#9C8A4B#9C8A4B
#9C8A4B is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.086 H 93.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A4B |
|---|---|
| RGB | rgb(156, 138, 75) |
| HSL | hsl(47, 35%, 45%) |
| HSV | hsv(47, 52%, 61%) |
| CMYK | cmyk(0%, 11.5%, 51.9%, 38.8%) |
| CIE-LAB | lab(57.80, -1.78, 35.95) |
| CIE-LCH | lch(57.80, 35.99, 92.84°) |
| OKLab | oklab(63.57% -0.0057 0.0855) |
| OKLCH | oklch(63.57% 0.086 93.8) |
| XYZ | xyz(24.0696, 25.7539, 10.3584) |
| Luminance | 0.2575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.64
Dark Sand
#A88F59
ΔE00 4.12
Dark Beige
#AC9362
ΔE00 5.76
Dark Tan
#AF884A
ΔE00 7.13
Drab
#828344
ΔE00 7.50
Coffee
#A6814C
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A4B #4B5D9C
analogous
#9C624B #9C8A4B #859C4B
triadic
#9C8A4B #4B9C8A #8A4B9C
tetradic
#9C8A4B #4B9C62 #4B5D9C #9C4B85
square
#9C8A4B #4B9C62 #4B5D9C #9C4B85
split-complementary
#9C8A4B #4B859C #624B9C
monochromatic
#494123 #736537 #9C8A4B #B8A76C #CCC095
Accessibility & contrast
On white
3.41
#9C8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#9C8A4B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A4B
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A4B | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 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)
#968846
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#A7817B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a4b; /* rgb */ color: rgb(156, 138, 75); /* oklch */ color: oklch(63.6% 0.086 93.8);
Tailwind
colors: {
custom: {
50: '#bbac7f',
500: '#9c8a4b',
950: '#000000',
},
}SCSS
$custom: #9c8a4b; $custom-light: #bbac7f; $custom-dark: #000000;
JSON
{
"hex": "#9c8a4b",
"rgb": {
"r": 156,
"g": 138,
"b": 75
},
"hsl": {
"h": 46.667,
"s": 35.065,
"l": 45.294
},
"oklch": {
"l": 0.63566,
"c": 0.08573,
"h": 93.8
},
"luminance": 0.25753
}Semantic roles & 50–950 ramp
primary
#9C8A4B
secondary
#8A95B8
accent
#75CB5D
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C