#797E80#797E80

#797E80 is a mid, near-neutral grey. Relative luminance 0.205; OKLCH L 59.0% C 0.007 H 223.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#797E80
RGBrgb(121, 126, 128)
HSLhsl(197, 3%, 49%)
HSVhsv(197, 5%, 50%)
CMYKcmyk(5.5%, 1.6%, 0%, 49.8%)
CIE-LABlab(52.45, -1.45, -1.73)
CIE-LCHlch(52.45, 2.26, 230.13°)
OKLaboklab(58.95% -0.0049 -0.0046)
OKLCHoklch(58.95% 0.007 223.5)
XYZxyz(19.2415, 20.5450, 23.3698)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E80 #807B79
analogous
#79807F #797E80 #797B80
triadic
#797E80 #80797E #7E8079
tetradic
#797E80 #7F7980 #807B79 #7B8079
square
#797E80 #7F7980 #807B79 #7B8079
split-complementary
#797E80 #80797B #807F79
monochromatic
#3E4041 #5B5F61 #797E80 #989C9E #B8BBBC

Accessibility & contrast

On white

4.11
#797E80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#797E80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E80
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E80#FFFFFF#000000##000000
##797E801.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7E80
Deuteranopia (green-blind)
#7C7D80
Tritanopia (blue-blind)
#777F7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797e80;
/* rgb */ color: rgb(121, 126, 128);
/* oklch */ color: oklch(59.0% 0.007 223.5);
Tailwind
colors: {
  custom: {
    50: '#9fa3a4',
    500: '#797e80',
    950: '#000000',
  },
}
SCSS
$custom: #797e80;
$custom-light: #9fa3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#797e80",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 128
  },
  "hsl": {
    "h": 197.143,
    "s": 2.811,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58951,
    "c": 0.00674,
    "h": 223.5
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#797E80
secondary
#ACAAA9
accent
#8A7CAC
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797E80

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

Preview Lab → · Contrast checker → · Palette generator →

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