#9D985E#9D985E
#9D985E is a light, moderate yellow. Relative luminance 0.304; OKLCH L 67.0% C 0.078 H 104.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9D985E |
|---|---|
| RGB | rgb(157, 152, 94) |
| HSL | hsl(55, 25%, 49%) |
| HSV | hsv(55, 40%, 62%) |
| CMYK | cmyk(0%, 3.2%, 40.1%, 38.4%) |
| CIE-LAB | lab(62.03, -7.01, 31.16) |
| CIE-LCH | lch(62.03, 31.94, 102.68°) |
| OKLab | oklab(67.02% -0.019 0.0761) |
| OKLCH | oklch(67.02% 0.078 104) |
| XYZ | xyz(27.1537, 30.4334, 15.0313) |
| Luminance | 0.3043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.48
Khaki (survey)
#AAA662
ΔE00 4.58
Moss Green
#8A9A5B
ΔE00 6.33
Dark Sand
#A88F59
ΔE00 7.28
Dark Beige
#AC9362
ΔE00 7.61
Camo
#7F8F4E
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D985E #5E639D
analogous
#9D795E #9D985E #839D5E
triadic
#9D985E #5E9D98 #985E9D
tetradic
#9D985E #5E9D79 #5E639D #9D5E83
square
#9D985E #5E9D79 #5E639D #9D5E83
split-complementary
#9D985E #5E839D #795E9D
monochromatic
#504E30 #777347 #9D985E #B5B183 #CCC9AA
Accessibility & contrast
On white
2.96
#9D985E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#9D985E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D985E
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D985E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D985E | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2945A
Deuteranopia (green-blind)
#A39760
Tritanopia (blue-blind)
#A6918A
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9d985e; /* rgb */ color: rgb(157, 152, 94); /* oklch */ color: oklch(67.0% 0.078 104.0);
Tailwind
colors: {
custom: {
50: '#bbb68c',
500: '#9d985e',
950: '#000000',
},
}SCSS
$custom: #9d985e; $custom-light: #bbb68c; $custom-dark: #000000;
JSON
{
"hex": "#9d985e",
"rgb": {
"r": 157,
"g": 152,
"b": 94
},
"hsl": {
"h": 55.238,
"s": 25.1,
"l": 49.216
},
"oklch": {
"l": 0.67019,
"c": 0.07844,
"h": 104
},
"luminance": 0.30433
}Semantic roles & 50–950 ramp
primary
#9D985E
secondary
#9D9FBA
accent
#6EC266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D