#9C985B#9C985B
#9C985B is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.9% C 0.082 H 105.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9C985B |
|---|---|
| RGB | rgb(156, 152, 91) |
| HSL | hsl(56, 26%, 48%) |
| HSV | hsv(56, 42%, 61%) |
| CMYK | cmyk(0%, 2.6%, 41.7%, 38.8%) |
| CIE-LAB | lab(61.90, -7.77, 32.58) |
| CIE-LCH | lch(61.90, 33.49, 103.42°) |
| OKLab | oklab(66.88% -0.0214 0.0792) |
| OKLCH | oklch(66.88% 0.082 105.1) |
| XYZ | xyz(26.8273, 30.2804, 14.3270) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.67
Khaki (survey)
#AAA662
ΔE00 4.45
Moss Green
#8A9A5B
ΔE00 5.98
Camo
#7F8F4E
ΔE00 7.41
Dark Sand
#A88F59
ΔE00 7.68
Drab
#828344
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C985B #5B5F9C
analogous
#9C775B #9C985B #7F9C5B
triadic
#9C985B #5B9C98 #985B9C
tetradic
#9C985B #5B9C77 #5B5F9C #9C5B7F
square
#9C985B #5B9C77 #5B5F9C #9C5B7F
split-complementary
#9C985B #5B7F9C #775B9C
monochromatic
#4F4D2E #757244 #9C985B #B5B180 #CBC9A6
Accessibility & contrast
On white
2.98
#9C985B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#9C985B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C985B
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C985B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C985B | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29456
Deuteranopia (green-blind)
#A3975E
Tritanopia (blue-blind)
#A59189
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9c985b; /* rgb */ color: rgb(156, 152, 91); /* oklch */ color: oklch(66.9% 0.082 105.1);
Tailwind
colors: {
custom: {
50: '#bab68a',
500: '#9c985b',
950: '#000000',
},
}SCSS
$custom: #9c985b; $custom-light: #bab68a; $custom-dark: #000000;
JSON
{
"hex": "#9c985b",
"rgb": {
"r": 156,
"g": 152,
"b": 91
},
"hsl": {
"h": 56.308,
"s": 26.316,
"l": 48.431
},
"oklch": {
"l": 0.6688,
"c": 0.08201,
"h": 105.1
},
"luminance": 0.3028
}Semantic roles & 50–950 ramp
primary
#9C985B
secondary
#9A9CB9
accent
#6BC365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D