#797B80#797B80

#797B80 is a mid, near-neutral grey. Relative luminance 0.198; OKLCH L 58.3% C 0.008 H 268.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#797B80
RGBrgb(121, 123, 128)
HSLhsl(223, 3%, 49%)
HSVhsv(223, 5%, 50%)
CMYKcmyk(5.5%, 3.9%, 0%, 49.8%)
CIE-LABlab(51.60, 0.28, -2.98)
CIE-LCHlch(51.60, 3.00, 275.39°)
OKLaboklab(58.28% -0.0002 -0.008)
OKLCHoklch(58.28% 0.008 268.5)
XYZxyz(18.8637, 19.7893, 23.2438)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B80 #807E79
analogous
#797F80 #797B80 #7B7980
triadic
#797B80 #80797B #7B8079
tetradic
#797B80 #80797F #807E79 #79807B
square
#797B80 #80797F #807E79 #79807B
split-complementary
#797B80 #807B79 #7F8079
monochromatic
#3E3F41 #5B5D61 #797B80 #989A9E #B8B9BC

Accessibility & contrast

On white

4.24
#797B80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#797B80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B80
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B80#FFFFFF#000000##000000
##797B801.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7B80
Deuteranopia (green-blind)
#797B80
Tritanopia (blue-blind)
#787C7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797b80;
/* rgb */ color: rgb(121, 123, 128);
/* oklch */ color: oklch(58.3% 0.008 268.5);
Tailwind
colors: {
  custom: {
    50: '#9fa1a4',
    500: '#797b80',
    950: '#000000',
  },
}
SCSS
$custom: #797b80;
$custom-light: #9fa1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#797b80",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 128
  },
  "hsl": {
    "h": 222.857,
    "s": 2.811,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58283,
    "c": 0.00796,
    "h": 268.5
  },
  "luminance": 0.19789
}

Semantic roles & 50–950 ramp

primary
#797B80
secondary
#ACABA9
accent
#9E7CAC
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797B80

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

Preview Lab → · Contrast checker → · Palette generator →

#797B80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva