#797E7D#797E7D

#797E7D is a mid, near-neutral grey. Relative luminance 0.205; OKLCH L 58.9% C 0.006 H 182.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#797E7D
RGBrgb(121, 126, 125)
HSLhsl(168, 2%, 48%)
HSVhsv(168, 4%, 49%)
CMYKcmyk(4%, 0%, 0.8%, 50.6%)
CIE-LABlab(52.36, -2.07, -0.11)
CIE-LCHlch(52.36, 2.07, 182.92°)
OKLaboklab(58.85% -0.0062 -0.0003)
OKLCHoklch(58.85% 0.006 182.9)
XYZxyz(19.0470, 20.4672, 22.3452)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E7D #7E797A
analogous
#797E7A #797E7D #797C7E
triadic
#797E7D #7D797E #7E7D79
tetradic
#797E7D #7A797E #7E797A #7C7E79
square
#797E7D #7A797E #7E797A #7C7E79
split-complementary
#797E7D #7E797C #7E7A79
monochromatic
#3D403F #5B5F5E #797E7D #989C9B #B7BABA

Accessibility & contrast

On white

4.12
#797E7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#797E7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E7D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E7D#FFFFFF#000000##000000
##797E7D1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7D7D
Deuteranopia (green-blind)
#7C7D7D
Tritanopia (blue-blind)
#787E7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797e7d;
/* rgb */ color: rgb(121, 126, 125);
/* oklch */ color: oklch(58.9% 0.006 182.9);
Tailwind
colors: {
  custom: {
    50: '#9fa3a2',
    500: '#797e7d',
    950: '#000000',
  },
}
SCSS
$custom: #797e7d;
$custom-light: #9fa3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#797e7d",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 125
  },
  "hsl": {
    "h": 168,
    "s": 2.024,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.00617,
    "h": 182.9
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#797E7D
secondary
#ABA8A9
accent
#7D86AB
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0F
muted
#7E7F7E

Preview Lab

Preview with #797E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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