#9B995C#9B995C
#9B995C is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.082 H 106.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9B995C |
|---|---|
| RGB | rgb(155, 153, 92) |
| HSL | hsl(58, 26%, 48%) |
| HSV | hsv(58, 41%, 61%) |
| CMYK | cmyk(0%, 1.3%, 40.6%, 39.2%) |
| CIE-LAB | lab(62.10, -8.62, 32.29) |
| CIE-LCH | lch(62.10, 33.42, 104.94°) |
| OKLab | oklab(67.03% -0.0237 0.0786) |
| OKLCH | oklch(67.03% 0.082 106.8) |
| XYZ | xyz(26.8410, 30.5243, 14.6010) |
| Luminance | 0.3052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.29
Khaki (survey)
#AAA662
ΔE00 4.32
Moss Green
#8A9A5B
ΔE00 5.36
Camo
#7F8F4E
ΔE00 7.02
Drab
#828344
ΔE00 7.98
Dark Sand
#A88F59
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B995C #5C5E9B
analogous
#9B795C #9B995C #7D9B5C
triadic
#9B995C #5C9B99 #995C9B
tetradic
#9B995C #5C9B79 #5C5E9B #9B5C7D
square
#9B995C #5C9B79 #5C5E9B #9B5C7D
split-complementary
#9B995C #5C7D9B #795C9B
monochromatic
#4E4D2E #757345 #9B995C #B4B280 #CBC9A7
Accessibility & contrast
On white
2.96
#9B995C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#9B995C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B995C
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B995C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B995C | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A29557
Deuteranopia (green-blind)
#A4975F
Tritanopia (blue-blind)
#A3928A
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9b995c; /* rgb */ color: rgb(155, 153, 92); /* oklch */ color: oklch(67.0% 0.082 106.8);
Tailwind
colors: {
custom: {
50: '#b9b68b',
500: '#9b995c',
950: '#000000',
},
}SCSS
$custom: #9b995c; $custom-light: #b9b68b; $custom-dark: #000000;
JSON
{
"hex": "#9b995c",
"rgb": {
"r": 155,
"g": 153,
"b": 92
},
"hsl": {
"h": 58.095,
"s": 25.506,
"l": 48.431
},
"oklch": {
"l": 0.6703,
"c": 0.08208,
"h": 106.8
},
"luminance": 0.30524
}Semantic roles & 50–950 ramp
primary
#9B995C
secondary
#9A9BB9
accent
#69C266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D