#9C8A45#9C8A45
#9C8A45 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.092 H 95.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8A45 |
|---|---|
| RGB | rgb(156, 138, 69) |
| HSL | hsl(48, 39%, 44%) |
| HSV | hsv(48, 56%, 61%) |
| CMYK | cmyk(0%, 11.5%, 55.8%, 38.8%) |
| CIE-LAB | lab(57.73, -2.32, 38.95) |
| CIE-LCH | lch(57.73, 39.02, 93.40°) |
| OKLab | oklab(63.48% -0.008 0.0915) |
| OKLCH | oklch(63.48% 0.092 95) |
| XYZ | xyz(23.8739, 25.6756, 9.3274) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.25
Dark Sand
#A88F59
ΔE00 4.90
Dark Beige
#AC9362
ΔE00 6.58
Diarrhea
#9F8303
ΔE00 7.10
Drab
#828344
ΔE00 7.49
Dark Mustard
#A88905
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8A45 #45579C
analogous
#9C5F45 #9C8A45 #839C45
triadic
#9C8A45 #459C8A #8A459C
tetradic
#9C8A45 #459C5F #45579C #9C4583
square
#9C8A45 #459C5F #45579C #9C4583
split-complementary
#9C8A45 #45839C #5F459C
monochromatic
#473F1F #726432 #9C8A45 #BAA864 #CDC08E
Accessibility & contrast
On white
3.42
#9C8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#9C8A45 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8A45
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8A45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8A45 | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96873F
Deuteranopia (green-blind)
#9B8D48
Tritanopia (blue-blind)
#A7817A
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #9c8a45; /* rgb */ color: rgb(156, 138, 69); /* oklch */ color: oklch(63.5% 0.092 95.0);
Tailwind
colors: {
custom: {
50: '#bbab7b',
500: '#9c8a45',
950: '#000000',
},
}SCSS
$custom: #9c8a45; $custom-light: #bbab7b; $custom-dark: #000000;
JSON
{
"hex": "#9c8a45",
"rgb": {
"r": 156,
"g": 138,
"b": 69
},
"hsl": {
"h": 47.586,
"s": 38.667,
"l": 44.118
},
"oklch": {
"l": 0.63483,
"c": 0.09189,
"h": 95
},
"luminance": 0.25675
}Semantic roles & 50–950 ramp
primary
#9C8A45
secondary
#848FB9
accent
#71CF59
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#121009
muted
#817F7B