#9C8A47#9C8A47
#9C8A47 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.090 H 94.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A47 |
|---|---|
| RGB | rgb(156, 138, 71) |
| HSL | hsl(47, 37%, 45%) |
| HSV | hsv(47, 54%, 61%) |
| CMYK | cmyk(0%, 11.5%, 54.5%, 38.8%) |
| CIE-LAB | lab(57.75, -2.14, 37.96) |
| CIE-LCH | lch(57.75, 38.02, 93.23°) |
| OKLab | oklab(63.51% -0.0073 0.0896) |
| OKLCH | oklch(63.51% 0.09 94.6) |
| XYZ | xyz(23.9370, 25.7009, 9.6599) |
| Luminance | 0.2570 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.02
Dark Sand
#A88F59
ΔE00 4.63
Dark Beige
#AC9362
ΔE00 6.30
Dark Tan
#AF884A
ΔE00 7.36
Diarrhea
#9F8303
ΔE00 7.41
Drab
#828344
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A47 #47599C
analogous
#9C6047 #9C8A47 #849C47
triadic
#9C8A47 #479C8A #8A479C
tetradic
#9C8A47 #479C60 #47599C #9C4784
square
#9C8A47 #479C60 #47599C #9C4784
split-complementary
#9C8A47 #47849C #60479C
monochromatic
#484021 #726534 #9C8A47 #BAA867 #CDC091
Accessibility & contrast
On white
3.42
#9C8A47 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9C8A47 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A47
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A47 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968741
Deuteranopia (green-blind)
#9B8D4A
Tritanopia (blue-blind)
#A7817B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a47; /* rgb */ color: rgb(156, 138, 71); /* oklch */ color: oklch(63.5% 0.090 94.6);
Tailwind
colors: {
custom: {
50: '#bbab7c',
500: '#9c8a47',
950: '#000000',
},
}SCSS
$custom: #9c8a47; $custom-light: #bbab7c; $custom-dark: #000000;
JSON
{
"hex": "#9c8a47",
"rgb": {
"r": 156,
"g": 138,
"b": 71
},
"hsl": {
"h": 47.294,
"s": 37.445,
"l": 44.51
},
"oklch": {
"l": 0.6351,
"c": 0.08987,
"h": 94.6
},
"luminance": 0.257
}Semantic roles & 50–950 ramp
primary
#9C8A47
secondary
#8691B8
accent
#73CD5A
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#121009
muted
#817F7B