#9D996F#9D996F
#9D996F is a light, muted yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.058 H 103.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9D996F |
|---|---|
| RGB | rgb(157, 153, 111) |
| HSL | hsl(55, 19%, 53%) |
| HSV | hsv(55, 29%, 62%) |
| CMYK | cmyk(0%, 2.5%, 29.3%, 38.4%) |
| CIE-LAB | lab(62.59, -5.41, 22.66) |
| CIE-LCH | lch(62.59, 23.30, 103.42°) |
| OKLab | oklab(67.56% -0.0134 0.0569) |
| OKLCH | oklch(67.56% 0.058 103.3) |
| XYZ | xyz(28.1653, 31.0988, 19.5548) |
| Luminance | 0.3110 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.65
Stone (survey)
#ADA587
ΔE00 5.94
Bland
#AFA88B
ΔE00 6.63
Khaki (survey)
#AAA662
ΔE00 6.79
Moss Green
#8A9A5B
ΔE00 7.60
Dark Beige
#AC9362
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D996F #6F739D
analogous
#9D826F #9D996F #8A9D6F
triadic
#9D996F #6F9D99 #996F9D
tetradic
#9D996F #6F9D82 #6F739D #9D6F8A
square
#9D996F #6F9D82 #6F739D #9D6F8A
split-complementary
#9D996F #6F8A9D #826F9D
monochromatic
#57543B #7B7854 #9D996F #B6B393 #CFCDB8
Accessibility & contrast
On white
2.91
#9D996F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#9D996F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D996F
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D996F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D996F | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1966C
Deuteranopia (green-blind)
#A29871
Tritanopia (blue-blind)
#A4938E
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9d996f; /* rgb */ color: rgb(157, 153, 111); /* oklch */ color: oklch(67.6% 0.058 103.3);
Tailwind
colors: {
custom: {
50: '#bab798',
500: '#9d996f',
950: '#000000',
},
}SCSS
$custom: #9d996f; $custom-light: #bab798; $custom-dark: #000000;
JSON
{
"hex": "#9d996f",
"rgb": {
"r": 157,
"g": 153,
"b": 111
},
"hsl": {
"h": 54.783,
"s": 19.008,
"l": 52.549
},
"oklch": {
"l": 0.67561,
"c": 0.05843,
"h": 103.3
},
"luminance": 0.31098
}Semantic roles & 50–950 ramp
primary
#9D996F
secondary
#AAACBE
accent
#73BC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E