#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
RGBrgb(151, 153, 123)
HSLhsl(64, 13%, 54%)
HSVhsv(64, 20%, 60%)
CMYKcmyk(1.3%, 0%, 19.6%, 40%)
CIE-LABlab(62.33, -6.02, 15.57)
CIE-LCHlch(62.33, 16.69, 111.15°)
OKLaboklab(67.31% -0.015 0.0398)
OKLCHoklch(67.31% 0.043 110.6)
XYZxyz(27.7286, 30.7921, 23.2178)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##97997B1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.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

Preview Lab

Preview with #97997B

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

Preview Lab → · Contrast checker → · Palette generator →

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