#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
RGBrgb(151, 153, 125)
HSLhsl(64, 12%, 55%)
HSVhsv(64, 18%, 60%)
CMYKcmyk(1.3%, 0%, 18.3%, 40%)
CIE-LABlab(62.37, -5.70, 14.51)
CIE-LCHlch(62.37, 15.59, 111.46°)
OKLaboklab(67.36% -0.0141 0.0372)
OKLCHoklch(67.36% 0.04 110.8)
XYZxyz(27.8551, 30.8427, 23.8839)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##97997D1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.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

Preview Lab

Preview with #97997D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#97997D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva