#9D996C#9D996C
#9D996C is a light, moderate yellow. Relative luminance 0.310; OKLCH L 67.5% C 0.062 H 103.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9D996C |
|---|---|
| RGB | rgb(157, 153, 108) |
| HSL | hsl(55, 20%, 52%) |
| HSV | hsv(55, 31%, 62%) |
| CMYK | cmyk(0%, 2.5%, 31.2%, 38.4%) |
| CIE-LAB | lab(62.54, -5.81, 24.24) |
| CIE-LCH | lch(62.54, 24.93, 103.49°) |
| OKLab | oklab(67.5% -0.0147 0.0605) |
| OKLCH | oklch(67.5% 0.062 103.6) |
| XYZ | xyz(28.0028, 31.0338, 18.6994) |
| Luminance | 0.3103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 5.12
Khaki (survey)
#AAA662
ΔE00 6.18
Stone (survey)
#ADA587
ΔE00 6.48
Moss Green
#8A9A5B
ΔE00 7.12
Bland
#AFA88B
ΔE00 7.16
Dark Beige
#AC9362
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D996C #6C709D
analogous
#9D816C #9D996C #899D6C
triadic
#9D996C #6C9D99 #996C9D
tetradic
#9D996C #6C9D81 #6C709D #9D6C89
square
#9D996C #6C9D81 #6C709D #9D6C89
split-complementary
#9D996C #6C899D #816C9D
monochromatic
#565339 #7A7752 #9D996C #B5B291 #CECCB5
Accessibility & contrast
On white
2.91
#9D996C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#9D996C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D996C
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D996C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D996C | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A19669
Deuteranopia (green-blind)
#A3986E
Tritanopia (blue-blind)
#A4938D
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9d996c; /* rgb */ color: rgb(157, 153, 108); /* oklch */ color: oklch(67.5% 0.062 103.6);
Tailwind
colors: {
custom: {
50: '#bab796',
500: '#9d996c',
950: '#000000',
},
}SCSS
$custom: #9d996c; $custom-light: #bab796; $custom-dark: #000000;
JSON
{
"hex": "#9d996c",
"rgb": {
"r": 157,
"g": 153,
"b": 108
},
"hsl": {
"h": 55.102,
"s": 20,
"l": 51.961
},
"oklch": {
"l": 0.67499,
"c": 0.06229,
"h": 103.6
},
"luminance": 0.31033
}Semantic roles & 50–950 ramp
primary
#9D996C
secondary
#A8A9BD
accent
#72BD6B
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E