#989898#989898

#989898 is a light, near-neutral grey. Relative luminance 0.314; OKLCH L 68.0% C 0.000 H 0.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#989898
RGBrgb(152, 152, 152)
HSLhsl(0, 0%, 60%)
HSVhsv(0, 0%, 60%)
CMYKcmyk(0%, 0%, 0%, 40.4%)
CIE-LABlab(62.84, 0.00, 0.00)
CIE-LCHlch(62.84, 0.00, 90.00°)
OKLaboklab(67.97% 0 0)
OKLCHoklch(67.97% 0 0)
XYZxyz(29.8437, 31.3989, 34.1880)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989898 #989898
analogous
#989898 #989898 #989898
triadic
#989898 #989898 #989898
tetradic
#989898 #989898 #989898 #989898
square
#989898 #989898 #989898 #989898
split-complementary
#989898 #989898 #989898
monochromatic
#5B5B5B #797979 #989898 #B7B7B7 #D5D5D5

Accessibility & contrast

On white

2.88
#989898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#989898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989898
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989898#FFFFFF#000000##000000
##9898981.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#989898
Deuteranopia (green-blind)
#989898
Tritanopia (blue-blind)
#989898
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989898;
/* rgb */ color: rgb(152, 152, 152);
/* oklch */ color: oklch(68.0% 0.000 0.0);
Tailwind
colors: {
  custom: {
    50: '#b6b6b6',
    500: '#989898',
    950: '#000000',
  },
}
SCSS
$custom: #989898;
$custom-light: #b6b6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#989898",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 152
  },
  "hsl": {
    "h": 0,
    "s": 0,
    "l": 59.608
  },
  "oklch": {
    "l": 0.67968,
    "c": 0,
    "h": 0
  },
  "luminance": 0.31399
}

Semantic roles & 50–950 ramp

primary
#989898
secondary
#C6C6C6
accent
#A9A97E
background
#FBFBFB
surface
#F6F6F6
border
#D0D0D0
text
#111111
muted
#808080

Preview Lab

Preview with #989898

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

Preview Lab → · Contrast checker → · Palette generator →

#989898 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva