#9E997A#9E997A
#9E997A is a light, muted yellow. Relative luminance 0.315; OKLCH L 67.9% C 0.044 H 99.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9E997A |
|---|---|
| RGB | rgb(158, 153, 122) |
| HSL | hsl(52, 16%, 55%) |
| HSV | hsv(52, 23%, 62%) |
| CMYK | cmyk(0%, 3.2%, 22.8%, 38%) |
| CIE-LAB | lab(62.89, -3.43, 16.99) |
| CIE-LCH | lch(62.89, 17.33, 101.40°) |
| OKLab | oklab(67.89% -0.0075 0.0433) |
| OKLCH | oklch(67.89% 0.044 99.8) |
| XYZ | xyz(29.0046, 31.4572, 22.9525) |
| Luminance | 0.3146 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 4.19
Bland
#AFA88B
ΔE00 4.93
Cement
#A5A391
ΔE00 5.60
Greyish
#A8A495
ΔE00 6.88
Brown Grey
#8D8468
ΔE00 7.22
Stone
#A89F91
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E997A #7A7F9E
analogous
#9E877A #9E997A #919E7A
triadic
#9E997A #7A9E99 #997A9E
tetradic
#9E997A #7A9E87 #7A7F9E #9E7A91
square
#9E997A #7A9E87 #7A7F9E #9E7A91
split-complementary
#9E997A #7A919E #877A9E
monochromatic
#5B5842 #7F7A5C #9E997A #B8B49D #D2CFC1
Accessibility & contrast
On white
2.88
#9E997A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#9E997A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9E997A
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E997A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E997A | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F9778
Deuteranopia (green-blind)
#A1997B
Tritanopia (blue-blind)
#A49590
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9e997a; /* rgb */ color: rgb(158, 153, 122); /* oklch */ color: oklch(67.9% 0.044 99.8);
Tailwind
colors: {
custom: {
50: '#bbb7a0',
500: '#9e997a',
950: '#000000',
},
}SCSS
$custom: #9e997a; $custom-light: #bbb7a0; $custom-dark: #000000;
JSON
{
"hex": "#9e997a",
"rgb": {
"r": 158,
"g": 153,
"b": 122
},
"hsl": {
"h": 51.667,
"s": 15.652,
"l": 54.902
},
"oklch": {
"l": 0.6789,
"c": 0.04397,
"h": 99.8
},
"luminance": 0.31457
}Semantic roles & 50–950 ramp
primary
#9E997A
secondary
#B2B4C1
accent
#7AB86F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110E
muted
#81807E