#97997B#97997B
#97997B is a light, muted yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.043 H 110.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #97997B |
|---|---|
| RGB | rgb(151, 153, 123) |
| HSL | hsl(64, 13%, 54%) |
| HSV | hsv(64, 20%, 60%) |
| CMYK | cmyk(1.3%, 0%, 19.6%, 40%) |
| CIE-LAB | lab(62.33, -6.02, 15.57) |
| CIE-LCH | lch(62.33, 16.69, 111.15°) |
| OKLab | oklab(67.31% -0.015 0.0398) |
| OKLCH | oklch(67.31% 0.043 110.6) |
| XYZ | xyz(27.7286, 30.7921, 23.2178) |
| Luminance | 0.3079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cement
#A5A391
ΔE00 6.12
Stone (survey)
#ADA587
ΔE00 6.27
Bland
#AFA88B
ΔE00 6.64
Greyish
#A8A495
ΔE00 7.82
Brown Grey
#8D8468
ΔE00 8.30
Sage Green
#9CAF88
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97997B #7D7B99
analogous
#998C7B #97997B #88997B
triadic
#97997B #7B9799 #997B97
tetradic
#97997B #7B998C #7D7B99 #997B88
square
#97997B #7B998C #7D7B99 #997B88
split-complementary
#97997B #7B8899 #8C7B99
monochromatic
#555743 #77795E #97997B #B2B49E #CDCEC0
Accessibility & contrast
On white
2.93
#97997B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#97997B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97997B
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97997B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97997B | 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)
#9E9679
Deuteranopia (green-blind)
#9E977C
Tritanopia (blue-blind)
#9B9591
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #97997b; /* rgb */ color: rgb(151, 153, 123); /* oklch */ color: oklch(67.3% 0.043 110.6);
Tailwind
colors: {
custom: {
50: '#b5b7a1',
500: '#97997b',
950: '#000000',
},
}SCSS
$custom: #97997b; $custom-light: #b5b7a1; $custom-dark: #000000;
JSON
{
"hex": "#97997b",
"rgb": {
"r": 151,
"g": 153,
"b": 123
},
"hsl": {
"h": 64,
"s": 12.821,
"l": 54.118
},
"oklch": {
"l": 0.67312,
"c": 0.04255,
"h": 110.6
},
"luminance": 0.30792
}Semantic roles & 50–950 ramp
primary
#97997B
secondary
#B2B2BE
accent
#72B677
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E