#9B985B#9B985B
#9B985B is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.082 H 106.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9B985B |
|---|---|
| RGB | rgb(155, 152, 91) |
| HSL | hsl(57, 26%, 48%) |
| HSV | hsv(57, 41%, 61%) |
| CMYK | cmyk(0%, 1.9%, 41.3%, 39.2%) |
| CIE-LAB | lab(61.81, -8.19, 32.45) |
| CIE-LCH | lch(61.81, 33.47, 104.17°) |
| OKLab | oklab(66.79% -0.0226 0.0789) |
| OKLCH | oklch(66.79% 0.082 106) |
| XYZ | xyz(26.6346, 30.1810, 14.3180) |
| Luminance | 0.3018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.88
Khaki (survey)
#AAA662
ΔE00 4.53
Moss Green
#8A9A5B
ΔE00 5.65
Camo
#7F8F4E
ΔE00 7.11
Drab
#828344
ΔE00 7.77
Dark Sand
#A88F59
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B985B #5B5E9B
analogous
#9B785B #9B985B #7E9B5B
triadic
#9B985B #5B9B98 #985B9B
tetradic
#9B985B #5B9B78 #5B5E9B #9B5B7E
square
#9B985B #5B9B78 #5B5E9B #9B5B7E
split-complementary
#9B985B #5B7E9B #785B9B
monochromatic
#4E4C2E #747244 #9B985B #B4B27F #CBC9A6
Accessibility & contrast
On white
2.98
#9B985B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#9B985B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B985B
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B985B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B985B | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29456
Deuteranopia (green-blind)
#A3975E
Tritanopia (blue-blind)
#A39189
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9b985b; /* rgb */ color: rgb(155, 152, 91); /* oklch */ color: oklch(66.8% 0.082 106.0);
Tailwind
colors: {
custom: {
50: '#b9b68a',
500: '#9b985b',
950: '#000000',
},
}SCSS
$custom: #9b985b; $custom-light: #b9b68a; $custom-dark: #000000;
JSON
{
"hex": "#9b985b",
"rgb": {
"r": 155,
"g": 152,
"b": 91
},
"hsl": {
"h": 57.188,
"s": 26.016,
"l": 48.235
},
"oklch": {
"l": 0.66791,
"c": 0.08205,
"h": 106
},
"luminance": 0.3018
}Semantic roles & 50–950 ramp
primary
#9B985B
secondary
#999BB9
accent
#6AC265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D