#9B985F#9B985F
#9B985F is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.9% C 0.077 H 105.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9B985F |
|---|---|
| RGB | rgb(155, 152, 95) |
| HSL | hsl(57, 24%, 49%) |
| HSV | hsv(57, 39%, 61%) |
| CMYK | cmyk(0%, 1.9%, 38.7%, 39.2%) |
| CIE-LAB | lab(61.87, -7.73, 30.39) |
| CIE-LCH | lch(61.87, 31.36, 104.27°) |
| OKLab | oklab(66.86% -0.0209 0.0744) |
| OKLCH | oklch(66.86% 0.077 105.7) |
| XYZ | xyz(26.8117, 30.2519, 15.2511) |
| Luminance | 0.3025 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.92
Khaki (survey)
#AAA662
ΔE00 4.79
Moss Green
#8A9A5B
ΔE00 5.69
Camo
#7F8F4E
ΔE00 7.23
Dark Sand
#A88F59
ΔE00 7.89
Drab
#828344
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B985F #5F629B
analogous
#9B7A5F #9B985F #809B5F
triadic
#9B985F #5F9B98 #985F9B
tetradic
#9B985F #5F9B7A #5F629B #9B5F80
square
#9B985F #5F9B7A #5F629B #9B5F80
split-complementary
#9B985F #5F809B #7A5F9B
monochromatic
#4F4E30 #757348 #9B985F #B3B184 #CBC9AA
Accessibility & contrast
On white
2.98
#9B985F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.05
#9B985F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B985F
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B985F | 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)
#A1945B
Deuteranopia (green-blind)
#A39761
Tritanopia (blue-blind)
#A3918A
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9b985f; /* rgb */ color: rgb(155, 152, 95); /* oklch */ color: oklch(66.9% 0.077 105.7);
Tailwind
colors: {
custom: {
50: '#b9b68d',
500: '#9b985f',
950: '#000000',
},
}SCSS
$custom: #9b985f; $custom-light: #b9b68d; $custom-dark: #000000;
JSON
{
"hex": "#9b985f",
"rgb": {
"r": 155,
"g": 152,
"b": 95
},
"hsl": {
"h": 57,
"s": 24,
"l": 49.02
},
"oklch": {
"l": 0.6686,
"c": 0.07729,
"h": 105.7
},
"luminance": 0.30251
}Semantic roles & 50–950 ramp
primary
#9B985F
secondary
#9D9EB9
accent
#6CC067
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D