#9C985F#9C985F
#9C985F is a light, moderate yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.077 H 104.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9C985F |
|---|---|
| RGB | rgb(156, 152, 95) |
| HSL | hsl(56, 24%, 49%) |
| HSV | hsv(56, 39%, 61%) |
| CMYK | cmyk(0%, 2.6%, 39.1%, 38.8%) |
| CIE-LAB | lab(61.96, -7.32, 30.52) |
| CIE-LCH | lch(61.96, 31.38, 103.48°) |
| OKLab | oklab(66.95% -0.0198 0.0747) |
| OKLCH | oklch(66.95% 0.077 104.8) |
| XYZ | xyz(27.0045, 30.3513, 15.2601) |
| Luminance | 0.3035 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.70
Khaki (survey)
#AAA662
ΔE00 4.71
Moss Green
#8A9A5B
ΔE00 6.02
Camo
#7F8F4E
ΔE00 7.53
Dark Sand
#A88F59
ΔE00 7.57
Dark Beige
#AC9362
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C985F #5F639C
analogous
#9C7A5F #9C985F #829C5F
triadic
#9C985F #5F9C98 #985F9C
tetradic
#9C985F #5F9C7A #5F639C #9C5F82
square
#9C985F #5F9C7A #5F639C #9C5F82
split-complementary
#9C985F #5F829C #7A5F9C
monochromatic
#504E31 #767348 #9C985F #B4B184 #CBC9AA
Accessibility & contrast
On white
2.97
#9C985F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.07
#9C985F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C985F
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C985F | 1.00 | 2.97 | 7.07 | 7.07 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1945B
Deuteranopia (green-blind)
#A39761
Tritanopia (blue-blind)
#A4918A
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9c985f; /* rgb */ color: rgb(156, 152, 95); /* oklch */ color: oklch(66.9% 0.077 104.8);
Tailwind
colors: {
custom: {
50: '#bab68d',
500: '#9c985f',
950: '#000000',
},
}SCSS
$custom: #9c985f; $custom-light: #bab68d; $custom-dark: #000000;
JSON
{
"hex": "#9c985f",
"rgb": {
"r": 156,
"g": 152,
"b": 95
},
"hsl": {
"h": 56.066,
"s": 24.303,
"l": 49.216
},
"oklch": {
"l": 0.66948,
"c": 0.07725,
"h": 104.8
},
"luminance": 0.30351
}Semantic roles & 50–950 ramp
primary
#9C985F
secondary
#9D9FBA
accent
#6DC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D