#9C8A48#9C8A48
#9C8A48 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.089 H 94.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A48 |
|---|---|
| RGB | rgb(156, 138, 72) |
| HSL | hsl(47, 37%, 45%) |
| HSV | hsv(47, 54%, 61%) |
| CMYK | cmyk(0%, 11.5%, 53.8%, 38.8%) |
| CIE-LAB | lab(57.76, -2.06, 37.46) |
| CIE-LCH | lch(57.76, 37.51, 93.14°) |
| OKLab | oklab(63.52% -0.0069 0.0886) |
| OKLCH | oklch(63.52% 0.089 94.4) |
| XYZ | xyz(23.9693, 25.7138, 9.8303) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.91
Dark Sand
#A88F59
ΔE00 4.50
Dark Beige
#AC9362
ΔE00 6.16
Dark Tan
#AF884A
ΔE00 7.30
Drab
#828344
ΔE00 7.47
Diarrhea
#9F8303
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A48 #485A9C
analogous
#9C6048 #9C8A48 #849C48
triadic
#9C8A48 #489C8A #8A489C
tetradic
#9C8A48 #489C60 #485A9C #9C4884
square
#9C8A48 #489C60 #485A9C #9C4884
split-complementary
#9C8A48 #48849C #60489C
monochromatic
#484021 #726535 #9C8A48 #B9A868 #CDC092
Accessibility & contrast
On white
3.42
#9C8A48 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9C8A48 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A48
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A48 | 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)
#968842
Deuteranopia (green-blind)
#9B8D4B
Tritanopia (blue-blind)
#A7817B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a48; /* rgb */ color: rgb(156, 138, 72); /* oklch */ color: oklch(63.5% 0.089 94.4);
Tailwind
colors: {
custom: {
50: '#bbab7d',
500: '#9c8a48',
950: '#000000',
},
}SCSS
$custom: #9c8a48; $custom-light: #bbab7d; $custom-dark: #000000;
JSON
{
"hex": "#9c8a48",
"rgb": {
"r": 156,
"g": 138,
"b": 72
},
"hsl": {
"h": 47.143,
"s": 36.842,
"l": 44.706
},
"oklch": {
"l": 0.63523,
"c": 0.08886,
"h": 94.4
},
"luminance": 0.25713
}Semantic roles & 50–950 ramp
primary
#9C8A48
secondary
#8792B8
accent
#73CD5B
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C