#9C8B48#9C8B48
#9C8B48 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.090 H 95.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8B48 |
|---|---|
| RGB | rgb(156, 139, 72) |
| HSL | hsl(48, 37%, 45%) |
| HSV | hsv(48, 54%, 61%) |
| CMYK | cmyk(0%, 10.9%, 53.8%, 38.8%) |
| CIE-LAB | lab(58.04, -2.61, 37.79) |
| CIE-LCH | lch(58.04, 37.88, 93.95°) |
| OKLab | oklab(63.74% -0.0085 0.0893) |
| OKLCH | oklch(63.74% 0.09 95.4) |
| XYZ | xyz(24.1135, 26.0021, 9.8784) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 2.68
Dark Sand
#A88F59
ΔE00 4.72
Dark Beige
#AC9362
ΔE00 6.32
Drab
#828344
ΔE00 7.33
Diarrhea
#9F8303
ΔE00 7.63
Dark Tan
#AF884A
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8B48 #48599C
analogous
#9C6148 #9C8B48 #839C48
triadic
#9C8B48 #489C8B #8B489C
tetradic
#9C8B48 #489C61 #48599C #9C4883
square
#9C8B48 #489C61 #48599C #9C4883
split-complementary
#9C8B48 #48839C #61489C
monochromatic
#484021 #726635 #9C8B48 #B9A968 #CDC192
Accessibility & contrast
On white
3.39
#9C8B48 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#9C8B48 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8B48
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8B48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8B48 | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978842
Deuteranopia (green-blind)
#9B8E4B
Tritanopia (blue-blind)
#A7827B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8b48; /* rgb */ color: rgb(156, 139, 72); /* oklch */ color: oklch(63.7% 0.090 95.4);
Tailwind
colors: {
custom: {
50: '#bbac7d',
500: '#9c8b48',
950: '#000000',
},
}SCSS
$custom: #9c8b48; $custom-light: #bbac7d; $custom-dark: #000000;
JSON
{
"hex": "#9c8b48",
"rgb": {
"r": 156,
"g": 139,
"b": 72
},
"hsl": {
"h": 47.857,
"s": 36.842,
"l": 44.706
},
"oklch": {
"l": 0.6374,
"c": 0.0897,
"h": 95.4
},
"luminance": 0.26001
}Semantic roles & 50–950 ramp
primary
#9C8B48
secondary
#8791B8
accent
#72CD5B
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C