#97998F#97998F

#97998F is a light, near-neutral grey. Relative luminance 0.313; OKLCH L 67.8% C 0.015 H 116.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#97998F
RGBrgb(151, 153, 143)
HSLhsl(72, 5%, 58%)
HSVhsv(72, 7%, 60%)
CMYKcmyk(1.3%, 0%, 6.5%, 40%)
CIE-LABlab(62.80, -2.61, 5.00)
CIE-LCHlch(62.80, 5.64, 117.56°)
OKLaboklab(67.83% -0.0064 0.0131)
OKLCHoklch(67.83% 0.015 116)
XYZxyz(29.1109, 31.3450, 30.4978)
Luminance0.3135 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97998F #918F99
analogous
#99968F #97998F #92998F
triadic
#97998F #8F9799 #998F97
tetradic
#97998F #8F9996 #918F99 #998F92
square
#97998F #8F9996 #918F99 #998F92
split-complementary
#97998F #8F9299 #968F99
monochromatic
#595B53 #797B70 #97998F #B5B6AF #D2D3CF

Accessibility & contrast

On white

2.89
#97998F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#97998F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97998F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97998F#FFFFFF#000000##000000
##97998F1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B988E
Deuteranopia (green-blind)
#9A988F
Tritanopia (blue-blind)
#989896
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #97998f;
/* rgb */ color: rgb(151, 153, 143);
/* oklch */ color: oklch(67.8% 0.015 116.0);
Tailwind
colors: {
  custom: {
    50: '#b5b7af',
    500: '#97998f',
    950: '#000000',
  },
}
SCSS
$custom: #97998f;
$custom-light: #b5b7af;
$custom-dark: #000000;
JSON
{
  "hex": "#97998f",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 143
  },
  "hsl": {
    "h": 72,
    "s": 4.673,
    "l": 58.039
  },
  "oklch": {
    "l": 0.67834,
    "c": 0.01457,
    "h": 116
  },
  "luminance": 0.31345
}

Semantic roles & 50–950 ramp

primary
#97998F
secondary
#C1C0C4
accent
#7AAE84
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#111110
muted
#80807F

Preview Lab

Preview with #97998F

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

Preview Lab → · Contrast checker → · Palette generator →

#97998F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva