#8A9799#8A9799

#8A9799 is a light, near-neutral grey. Relative luminance 0.298; OKLCH L 66.7% C 0.015 H 207.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A9799
RGBrgb(138, 151, 153)
HSLhsl(188, 7%, 57%)
HSVhsv(188, 10%, 60%)
CMYKcmyk(9.8%, 1.3%, 0%, 40%)
CIE-LABlab(61.51, -4.22, -2.64)
CIE-LCHlch(61.51, 4.98, 212.03°)
OKLaboklab(66.66% -0.0135 -0.0071)
OKLCHoklch(66.66% 0.015 207.8)
XYZxyz(27.2963, 29.8360, 34.4516)
Luminance0.2984 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9799 #998C8A
analogous
#8A9994 #8A9799 #8A9099
triadic
#8A9799 #998A97 #97998A
tetradic
#8A9799 #948A99 #998C8A #90998A
square
#8A9799 #948A99 #998C8A #90998A
split-complementary
#8A9799 #998A90 #99948A
monochromatic
#4F595A #6B797B #8A9799 #ABB4B6 #CBD1D2

Accessibility & contrast

On white

3.01
#8A9799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#8A9799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9799
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9799#FFFFFF#000000##000000
##8A97991.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#959699
Deuteranopia (green-blind)
#929499
Tritanopia (blue-blind)
#869898
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9799;
/* rgb */ color: rgb(138, 151, 153);
/* oklch */ color: oklch(66.7% 0.015 207.8);
Tailwind
colors: {
  custom: {
    50: '#acb5b7',
    500: '#8a9799',
    950: '#000000',
  },
}
SCSS
$custom: #8a9799;
$custom-light: #acb5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9799",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 153
  },
  "hsl": {
    "h": 188,
    "s": 6.849,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6666,
    "c": 0.01524,
    "h": 207.8
  },
  "luminance": 0.29836
}

Semantic roles & 50–950 ramp

primary
#8A9799
secondary
#C2BDBC
accent
#7F78B0
background
#FAFBFB
surface
#F4F6F6
border
#CED0D0
text
#101111
muted
#7F8080

Preview Lab

Preview with #8A9799

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

Preview Lab → · Contrast checker → · Palette generator →

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