#797F7D#797F7D

#797F7D is a mid, near-neutral grey. Relative luminance 0.207; OKLCH L 59.1% C 0.008 H 174.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#797F7D
RGBrgb(121, 127, 125)
HSLhsl(160, 2%, 49%)
HSVhsv(160, 5%, 50%)
CMYKcmyk(4.7%, 0%, 1.6%, 50.2%)
CIE-LABlab(52.65, -2.64, 0.31)
CIE-LCHlch(52.65, 2.66, 173.29°)
OKLaboklab(59.08% -0.0077 0.0008)
OKLCHoklch(59.08% 0.008 174.2)
XYZxyz(19.1755, 20.7242, 22.3880)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F7D #7F797B
analogous
#797F7A #797F7D #797E7F
triadic
#797F7D #7D797F #7F7D79
tetradic
#797F7D #7A797F #7F797B #7E7F79
square
#797F7D #7A797F #7F797B #7E7F79
split-complementary
#797F7D #7F797E #7F7A79
monochromatic
#3D403F #5B605E #797F7D #989D9B #B8BBBA

Accessibility & contrast

On white

4.08
#797F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#797F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F7D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F7D#FFFFFF#000000##000000
##797F7D1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7E7D
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#787F7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797f7d;
/* rgb */ color: rgb(121, 127, 125);
/* oklch */ color: oklch(59.1% 0.008 174.2);
Tailwind
colors: {
  custom: {
    50: '#9fa4a2',
    500: '#797f7d',
    950: '#000000',
  },
}
SCSS
$custom: #797f7d;
$custom-light: #9fa4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#797f7d",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 125
  },
  "hsl": {
    "h": 160,
    "s": 2.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59079,
    "c": 0.00776,
    "h": 174.2
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#797F7D
secondary
#ABA8A9
accent
#7C8CAC
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0F
muted
#7E7F7E

Preview Lab

Preview with #797F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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