#9C8A46#9C8A46
#9C8A46 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.091 H 94.8°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A46 |
|---|---|
| RGB | rgb(156, 138, 70) |
| HSL | hsl(47, 38%, 44%) |
| HSV | hsv(47, 55%, 61%) |
| CMYK | cmyk(0%, 11.5%, 55.1%, 38.8%) |
| CIE-LAB | lab(57.74, -2.23, 38.46) |
| CIE-LCH | lch(57.74, 38.52, 93.32°) |
| OKLab | oklab(63.5% -0.0076 0.0906) |
| OKLCH | oklch(63.5% 0.091 94.8) |
| XYZ | xyz(23.9052, 25.6881, 9.4923) |
| Luminance | 0.2569 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.13
Dark Sand
#A88F59
ΔE00 4.77
Dark Beige
#AC9362
ΔE00 6.44
Diarrhea
#9F8303
ΔE00 7.25
Dark Tan
#AF884A
ΔE00 7.43
Drab
#828344
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A46 #46589C
analogous
#9C5F46 #9C8A46 #839C46
triadic
#9C8A46 #469C8A #8A469C
tetradic
#9C8A46 #469C5F #46589C #9C4683
square
#9C8A46 #469C5F #46589C #9C4683
split-complementary
#9C8A46 #46839C #5F469C
monochromatic
#483F20 #726533 #9C8A46 #BAA865 #CDC08F
Accessibility & contrast
On white
3.42
#9C8A46 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#9C8A46 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A46
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A46 | 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)
#968740
Deuteranopia (green-blind)
#9B8D49
Tritanopia (blue-blind)
#A7817A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a46; /* rgb */ color: rgb(156, 138, 70); /* oklch */ color: oklch(63.5% 0.091 94.8);
Tailwind
colors: {
custom: {
50: '#bbab7b',
500: '#9c8a46',
950: '#000000',
},
}SCSS
$custom: #9c8a46; $custom-light: #bbab7b; $custom-dark: #000000;
JSON
{
"hex": "#9c8a46",
"rgb": {
"r": 156,
"g": 138,
"b": 70
},
"hsl": {
"h": 47.442,
"s": 38.053,
"l": 44.314
},
"oklch": {
"l": 0.63496,
"c": 0.09089,
"h": 94.8
},
"luminance": 0.25687
}Semantic roles & 50–950 ramp
primary
#9C8A46
secondary
#8590B8
accent
#72CE5A
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#121009
muted
#817F7B