#9C995F#9C995F
#9C995F is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.2% C 0.078 H 105.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9C995F |
|---|---|
| RGB | rgb(156, 153, 95) |
| HSL | hsl(57, 24%, 49%) |
| HSV | hsv(57, 39%, 61%) |
| CMYK | cmyk(0%, 1.9%, 39.1%, 38.8%) |
| CIE-LAB | lab(62.23, -7.85, 30.88) |
| CIE-LCH | lch(62.23, 31.86, 104.27°) |
| OKLab | oklab(67.17% -0.0213 0.0755) |
| OKLCH | oklch(67.17% 0.078 105.8) |
| XYZ | xyz(27.1675, 30.6772, 15.3144) |
| Luminance | 0.3068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.10
Khaki (survey)
#AAA662
ΔE00 4.42
Moss Green
#8A9A5B
ΔE00 5.71
Camo
#7F8F4E
ΔE00 7.39
Dark Sand
#A88F59
ΔE00 7.97
Drab
#828344
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C995F #5F629C
analogous
#9C7B5F #9C995F #819C5F
triadic
#9C995F #5F9C99 #995F9C
tetradic
#9C995F #5F9C7B #5F629C #9C5F81
square
#9C995F #5F9C7B #5F629C #9C5F81
split-complementary
#9C995F #5F819C #7B5F9C
monochromatic
#504E31 #767448 #9C995F #B4B284 #CBCAAA
Accessibility & contrast
On white
2.94
#9C995F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#9C995F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C995F
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C995F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C995F | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2955B
Deuteranopia (green-blind)
#A49861
Tritanopia (blue-blind)
#A4928B
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9c995f; /* rgb */ color: rgb(156, 153, 95); /* oklch */ color: oklch(67.2% 0.078 105.8);
Tailwind
colors: {
custom: {
50: '#bab68d',
500: '#9c995f',
950: '#000000',
},
}SCSS
$custom: #9c995f; $custom-light: #bab68d; $custom-dark: #000000;
JSON
{
"hex": "#9c995f",
"rgb": {
"r": 156,
"g": 153,
"b": 95
},
"hsl": {
"h": 57.049,
"s": 24.303,
"l": 49.216
},
"oklch": {
"l": 0.67169,
"c": 0.07845,
"h": 105.8
},
"luminance": 0.30677
}Semantic roles & 50–950 ramp
primary
#9C995F
secondary
#9D9FBA
accent
#6BC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D