#8A9898#8A9898

#8A9898 is a light, near-neutral grey. Relative luminance 0.301; OKLCH L 66.8% C 0.016 H 196.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A9898
RGBrgb(138, 152, 152)
HSLhsl(180, 6%, 57%)
HSVhsv(180, 9%, 60%)
CMYKcmyk(9.2%, 0%, 0%, 40.4%)
CIE-LABlab(61.76, -4.98, -1.71)
CIE-LCHlch(61.76, 5.27, 198.92°)
OKLaboklab(66.85% -0.0154 -0.0046)
OKLCHoklch(66.85% 0.016 196.8)
XYZxyz(27.3757, 30.1263, 34.0723)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9898 #988A8A
analogous
#8A9891 #8A9898 #8A9198
triadic
#8A9898 #988A98 #98988A
tetradic
#8A9898 #918A98 #988A8A #91988A
square
#8A9898 #918A98 #988A8A #91988A
split-complementary
#8A9898 #988A91 #98918A
monochromatic
#4E5959 #6B7A7A #8A9898 #ABB5B5 #CBD1D1

Accessibility & contrast

On white

2.99
#8A9898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8A9898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9898
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9898#FFFFFF#000000##000000
##8A98981.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#969698
Deuteranopia (green-blind)
#939498
Tritanopia (blue-blind)
#869998
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9898;
/* rgb */ color: rgb(138, 152, 152);
/* oklch */ color: oklch(66.8% 0.016 196.8);
Tailwind
colors: {
  custom: {
    50: '#acb6b6',
    500: '#8a9898',
    950: '#000000',
  },
}
SCSS
$custom: #8a9898;
$custom-light: #acb6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9898",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 152
  },
  "hsl": {
    "h": 180,
    "s": 6.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.01605,
    "h": 196.8
  },
  "luminance": 0.30127
}

Semantic roles & 50–950 ramp

primary
#8A9898
secondary
#C2BCBC
accent
#7878AF
background
#FAFBFB
surface
#F4F6F6
border
#CED0D0
text
#101111
muted
#7F8080

Preview Lab

Preview with #8A9898

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

Preview Lab → · Contrast checker → · Palette generator →

#8A9898 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva