#797D80#797D80

#797D80 is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 58.7% C 0.007 H 239.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#797D80
RGBrgb(121, 125, 128)
HSLhsl(206, 3%, 49%)
HSVhsv(206, 5%, 50%)
CMYKcmyk(5.5%, 2.3%, 0%, 49.8%)
CIE-LABlab(52.16, -0.87, -2.15)
CIE-LCHlch(52.16, 2.32, 247.90°)
OKLaboklab(58.73% -0.0033 -0.0057)
OKLCHoklch(58.73% 0.007 239.9)
XYZxyz(19.1143, 20.2906, 23.3274)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D80 #807C79
analogous
#798080 #797D80 #797A80
triadic
#797D80 #80797D #7D8079
tetradic
#797D80 #807980 #807C79 #7A8079
square
#797D80 #807980 #807C79 #7A8079
split-complementary
#797D80 #80797A #808079
monochromatic
#3E4041 #5B5E61 #797D80 #989C9E #B8BABC

Accessibility & contrast

On white

4.15
#797D80 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#797D80 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D80
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D80#FFFFFF#000000##000000
##797D801.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7D80
Deuteranopia (green-blind)
#7B7C80
Tritanopia (blue-blind)
#777E7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797d80;
/* rgb */ color: rgb(121, 125, 128);
/* oklch */ color: oklch(58.7% 0.007 239.9);
Tailwind
colors: {
  custom: {
    50: '#9fa2a4',
    500: '#797d80',
    950: '#000000',
  },
}
SCSS
$custom: #797d80;
$custom-light: #9fa2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#797d80",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 128
  },
  "hsl": {
    "h": 205.714,
    "s": 2.811,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.00664,
    "h": 239.9
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

primary
#797D80
secondary
#ACAAA9
accent
#907CAC
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F

Preview Lab

Preview with #797D80

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

Preview Lab → · Contrast checker → · Palette generator →

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