#798B8A#798B8A

#798B8A is a light, muted grey. Relative luminance 0.244; OKLCH L 62.2% C 0.021 H 192.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#798B8A
RGBrgb(121, 139, 138)
HSLhsl(177, 7%, 51%)
HSVhsv(177, 13%, 55%)
CMYKcmyk(12.9%, 0%, 0.7%, 45.5%)
CIE-LABlab(56.45, -6.68, -1.66)
CIE-LCHlch(56.45, 6.88, 193.94°)
OKLaboklab(62.21% -0.0204 -0.0045)
OKLCHoklch(62.21% 0.021 192.5)
XYZxyz(21.7041, 24.3647, 27.5992)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798B8A #8B797A
analogous
#798B81 #798B8A #79838B
triadic
#798B8A #8A798B #8B8A79
tetradic
#798B8A #81798B #8B797A #838B79
square
#798B8A #81798B #8B797A #838B79
split-complementary
#798B8A #8B7983 #8B8179
monochromatic
#404A49 #5C6B6A #798B8A #9AA7A7 #BBC4C3

Accessibility & contrast

On white

3.58
#798B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#798B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798B8A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798B8A#FFFFFF#000000##000000
##798B8A1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89898A
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#748C8B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #798b8a;
/* rgb */ color: rgb(121, 139, 138);
/* oklch */ color: oklch(62.2% 0.021 192.5);
Tailwind
colors: {
  custom: {
    50: '#a0acac',
    500: '#798b8a',
    950: '#000000',
  },
}
SCSS
$custom: #798b8a;
$custom-light: #a0acac;
$custom-dark: #000000;
JSON
{
  "hex": "#798b8a",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 138
  },
  "hsl": {
    "h": 176.667,
    "s": 7.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.62206,
    "c": 0.02086,
    "h": 192.5
  },
  "luminance": 0.24365
}

Semantic roles & 50–950 ramp

primary
#798B8A
secondary
#B4ACAC
accent
#787BB0
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E1010
muted
#7E7F7F

Preview Lab

Preview with #798B8A

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

Preview Lab → · Contrast checker → · Palette generator →

#798B8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva