#9B996A#9B996A
#9B996A is a light, moderate yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.065 H 106.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9B996A |
|---|---|
| RGB | rgb(155, 153, 106) |
| HSL | hsl(58, 20%, 51%) |
| HSV | hsv(58, 32%, 61%) |
| CMYK | cmyk(0%, 1.3%, 31.6%, 39.2%) |
| CIE-LAB | lab(62.33, -6.89, 25.03) |
| CIE-LCH | lch(62.33, 25.96, 105.40°) |
| OKLab | oklab(67.29% -0.0178 0.0624) |
| OKLCH | oklch(67.29% 0.065 106) |
| XYZ | xyz(27.5105, 30.7921, 18.1271) |
| Luminance | 0.3079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.20
Khaki (survey)
#AAA662
ΔE00 5.96
Moss Green
#8A9A5B
ΔE00 6.24
Stone (survey)
#ADA587
ΔE00 7.20
Bland
#AFA88B
ΔE00 7.82
Camo
#7F8F4E
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B996A #6A6C9B
analogous
#9B806A #9B996A #849B6A
triadic
#9B996A #6A9B99 #996A9B
tetradic
#9B996A #6A9B80 #6A6C9B #9B6A84
square
#9B996A #6A9B80 #6A6C9B #9B6A84
split-complementary
#9B996A #6A849B #806A9B
monochromatic
#535238 #787650 #9B996A #B4B28F #CCCBB3
Accessibility & contrast
On white
2.93
#9B996A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#9B996A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B996A
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B996A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B996A | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A19567
Deuteranopia (green-blind)
#A2986C
Tritanopia (blue-blind)
#A2938D
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9b996a; /* rgb */ color: rgb(155, 153, 106); /* oklch */ color: oklch(67.3% 0.065 106.0);
Tailwind
colors: {
custom: {
50: '#b9b795',
500: '#9b996a',
950: '#000000',
},
}SCSS
$custom: #9b996a; $custom-light: #b9b795; $custom-dark: #000000;
JSON
{
"hex": "#9b996a",
"rgb": {
"r": 155,
"g": 153,
"b": 106
},
"hsl": {
"h": 57.551,
"s": 19.679,
"l": 51.176
},
"oklch": {
"l": 0.67285,
"c": 0.06486,
"h": 106
},
"luminance": 0.30792
}Semantic roles & 50–950 ramp
primary
#9B996A
secondary
#A6A6BB
accent
#6FBC6C
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#11110D
muted
#80807E