#798C8A#798C8A

#798C8A is a light, muted grey. Relative luminance 0.247; OKLCH L 62.4% C 0.022 H 188.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#798C8A
RGBrgb(121, 140, 138)
HSLhsl(174, 8%, 51%)
HSVhsv(174, 14%, 55%)
CMYKcmyk(13.6%, 0%, 1.4%, 45.1%)
CIE-LABlab(56.74, -7.23, -1.24)
CIE-LCHlch(56.74, 7.34, 189.70°)
OKLaboklab(62.43% -0.0218 -0.0034)
OKLCHoklch(62.43% 0.022 188.9)
XYZxyz(21.8495, 24.6556, 27.6477)
Luminance0.2466 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C8A #8C797B
analogous
#798C80 #798C8A #79848C
triadic
#798C8A #8A798C #8C8A79
tetradic
#798C8A #80798C #8C797B #848C79
square
#798C8A #80798C #8C797B #848C79
split-complementary
#798C8A #8C7984 #8C8079
monochromatic
#404B49 #5C6C6A #798C8A #9AA8A7 #BBC5C4

Accessibility & contrast

On white

3.54
#798C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#798C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C8A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C8A#FFFFFF#000000##000000
##798C8A1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8A8A
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#748D8B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #798c8a;
/* rgb */ color: rgb(121, 140, 138);
/* oklch */ color: oklch(62.4% 0.022 188.9);
Tailwind
colors: {
  custom: {
    50: '#a0adac',
    500: '#798c8a',
    950: '#000000',
  },
}
SCSS
$custom: #798c8a;
$custom-light: #a0adac;
$custom-dark: #000000;
JSON
{
  "hex": "#798c8a",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 138
  },
  "hsl": {
    "h": 173.684,
    "s": 7.631,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.0221,
    "h": 188.9
  },
  "luminance": 0.24656
}

Semantic roles & 50–950 ramp

primary
#798C8A
secondary
#B5ACAD
accent
#777DB1
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E1010
muted
#7E7F7F

Preview Lab

Preview with #798C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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