#797A80#797A80

#797A80 is a mid, near-neutral grey. Relative luminance 0.195; OKLCH L 58.1% C 0.009 H 278.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#797A80
RGBrgb(121, 122, 128)
HSLhsl(231, 3%, 49%)
HSVhsv(231, 5%, 50%)
CMYKcmyk(5.5%, 4.7%, 0%, 49.8%)
CIE-LABlab(51.32, 0.86, -3.40)
CIE-LCHlch(51.32, 3.51, 284.20°)
OKLaboklab(58.06% 0.0014 -0.0091)
OKLCHoklch(58.06% 0.009 278.5)
XYZxyz(18.7402, 19.5425, 23.2027)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797A80 #807F79
analogous
#797E80 #797A80 #7C7980
triadic
#797A80 #80797A #7A8079
tetradic
#797A80 #80797E #807F79 #79807C
square
#797A80 #80797E #807F79 #79807C
split-complementary
#797A80 #807C79 #7E8079
monochromatic
#3E3E41 #5B5C61 #797A80 #98999E #B8B8BC

Accessibility & contrast

On white

4.28
#797A80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#797A80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797A80
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797A80#FFFFFF#000000##000000
##797A801.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#797A80
Deuteranopia (green-blind)
#787A80
Tritanopia (blue-blind)
#787B7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797a80;
/* rgb */ color: rgb(121, 122, 128);
/* oklch */ color: oklch(58.1% 0.009 278.5);
Tailwind
colors: {
  custom: {
    50: '#9fa0a4',
    500: '#797a80',
    950: '#000000',
  },
}
SCSS
$custom: #797a80;
$custom-light: #9fa0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#797a80",
  "rgb": {
    "r": 121,
    "g": 122,
    "b": 128
  },
  "hsl": {
    "h": 231.429,
    "s": 2.811,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.00917,
    "h": 278.5
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#797A80
secondary
#ACACA9
accent
#A57CAC
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797A80

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

Preview Lab → · Contrast checker → · Palette generator →

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