#798C8B#798C8B

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

Color values

HEX#798C8B
RGBrgb(121, 140, 139)
HSLhsl(177, 8%, 51%)
HSVhsv(177, 14%, 55%)
CMYKcmyk(13.6%, 0%, 0.7%, 45.1%)
CIE-LABlab(56.77, -7.02, -1.77)
CIE-LCHlch(56.77, 7.24, 194.15°)
OKLaboklab(62.47% -0.0214 -0.0048)
OKLCHoklch(62.47% 0.022 192.7)
XYZxyz(21.9223, 24.6847, 28.0307)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798C8B #8C797A
analogous
#798C81 #798C8B #79838C
triadic
#798C8B #8B798C #8C8B79
tetradic
#798C8B #81798C #8C797A #838C79
square
#798C8B #81798C #8C797A #838C79
split-complementary
#798C8B #8C7983 #8C8179
monochromatic
#404B4A #5C6C6B #798C8B #9AA8A8 #BBC5C4

Accessibility & contrast

On white

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

On black

5.94
#798C8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798C8B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798C8B#FFFFFF#000000##000000
##798C8B1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8A8B
Deuteranopia (green-blind)
#86878B
Tritanopia (blue-blind)
#748D8C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #798c8b;
/* rgb */ color: rgb(121, 140, 139);
/* oklch */ color: oklch(62.5% 0.022 192.7);
Tailwind
colors: {
  custom: {
    50: '#a0adac',
    500: '#798c8b',
    950: '#000000',
  },
}
SCSS
$custom: #798c8b;
$custom-light: #a0adac;
$custom-dark: #000000;
JSON
{
  "hex": "#798c8b",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 139
  },
  "hsl": {
    "h": 176.842,
    "s": 7.631,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62466,
    "c": 0.02195,
    "h": 192.7
  },
  "luminance": 0.24685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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