#97997D#97997D
#97997D is a light, muted yellow. Relative luminance 0.308; OKLCH L 67.4% C 0.040 H 110.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #97997D |
|---|---|
| RGB | rgb(151, 153, 125) |
| HSL | hsl(64, 12%, 55%) |
| HSV | hsv(64, 18%, 60%) |
| CMYK | cmyk(1.3%, 0%, 18.3%, 40%) |
| CIE-LAB | lab(62.37, -5.70, 14.51) |
| CIE-LCH | lch(62.37, 15.59, 111.46°) |
| OKLab | oklab(67.36% -0.0141 0.0372) |
| OKLCH | oklch(67.36% 0.04 110.8) |
| XYZ | xyz(27.8551, 30.8427, 23.8839) |
| Luminance | 0.3084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cement
#A5A391
ΔE00 5.64
Stone (survey)
#ADA587
ΔE00 6.23
Bland
#AFA88B
ΔE00 6.57
Greyish
#A8A495
ΔE00 7.34
Brown Grey
#8D8468
ΔE00 8.29
Sage Green
#9CAF88
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97997D #7F7D99
analogous
#998D7D #97997D #89997D
triadic
#97997D #7D9799 #997D97
tetradic
#97997D #7D998D #7F7D99 #997D89
square
#97997D #7D998D #7F7D99 #997D89
split-complementary
#97997D #7D8999 #8D7D99
monochromatic
#565744 #78795F #97997D #B2B49F #CECFC2
Accessibility & contrast
On white
2.93
#97997D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#97997D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #97997D
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97997D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##97997D | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E967B
Deuteranopia (green-blind)
#9E977E
Tritanopia (blue-blind)
#9B9591
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #97997d; /* rgb */ color: rgb(151, 153, 125); /* oklch */ color: oklch(67.4% 0.040 110.8);
Tailwind
colors: {
custom: {
50: '#b5b7a2',
500: '#97997d',
950: '#000000',
},
}SCSS
$custom: #97997d; $custom-light: #b5b7a2; $custom-dark: #000000;
JSON
{
"hex": "#97997d",
"rgb": {
"r": 151,
"g": 153,
"b": 125
},
"hsl": {
"h": 64.286,
"s": 12.069,
"l": 54.51
},
"oklch": {
"l": 0.6736,
"c": 0.0398,
"h": 110.8
},
"luminance": 0.30842
}Semantic roles & 50–950 ramp
primary
#97997D
secondary
#B4B3BF
accent
#73B578
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F