#9B985E#9B985E
#9B985E is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.078 H 105.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9B985E |
|---|---|
| RGB | rgb(155, 152, 94) |
| HSL | hsl(57, 24%, 49%) |
| HSV | hsv(57, 39%, 61%) |
| CMYK | cmyk(0%, 1.9%, 39.4%, 39.2%) |
| CIE-LAB | lab(61.86, -7.85, 30.91) |
| CIE-LCH | lch(61.86, 31.89, 104.25°) |
| OKLab | oklab(66.84% -0.0213 0.0755) |
| OKLCH | oklch(66.84% 0.078 105.8) |
| XYZ | xyz(26.7666, 30.2338, 15.0132) |
| Luminance | 0.3023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.89
Khaki (survey)
#AAA662
ΔE00 4.71
Moss Green
#8A9A5B
ΔE00 5.66
Camo
#7F8F4E
ΔE00 7.19
Drab
#828344
ΔE00 7.88
Dark Sand
#A88F59
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B985E #5E619B
analogous
#9B7A5E #9B985E #809B5E
triadic
#9B985E #5E9B98 #985E9B
tetradic
#9B985E #5E9B7A #5E619B #9B5E80
square
#9B985E #5E9B7A #5E619B #9B5E80
split-complementary
#9B985E #5E809B #7A5E9B
monochromatic
#4F4D30 #757347 #9B985E #B4B183 #CBC9A9
Accessibility & contrast
On white
2.98
#9B985E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#9B985E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B985E
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B985E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B985E | 1.00 | 2.98 | 7.05 | 7.05 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1945A
Deuteranopia (green-blind)
#A39760
Tritanopia (blue-blind)
#A3918A
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9b985e; /* rgb */ color: rgb(155, 152, 94); /* oklch */ color: oklch(66.8% 0.078 105.8);
Tailwind
colors: {
custom: {
50: '#b9b68c',
500: '#9b985e',
950: '#000000',
},
}SCSS
$custom: #9b985e; $custom-light: #b9b68c; $custom-dark: #000000;
JSON
{
"hex": "#9b985e",
"rgb": {
"r": 155,
"g": 152,
"b": 94
},
"hsl": {
"h": 57.049,
"s": 24.498,
"l": 48.824
},
"oklch": {
"l": 0.66842,
"c": 0.07849,
"h": 105.8
},
"luminance": 0.30233
}Semantic roles & 50–950 ramp
primary
#9B985E
secondary
#9C9DB9
accent
#6BC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D