#797E7A#797E7A

#797E7A is a mid, near-neutral grey. Relative luminance 0.204; OKLCH L 58.8% C 0.008 H 151.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#797E7A
RGBrgb(121, 126, 122)
HSLhsl(132, 2%, 48%)
HSVhsv(132, 4%, 49%)
CMYKcmyk(4%, 0%, 3.2%, 50.6%)
CIE-LABlab(52.28, -2.67, 1.53)
CIE-LCHlch(52.28, 3.08, 150.30°)
OKLaboklab(58.76% -0.0074 0.004)
OKLCHoklch(58.76% 0.008 151.8)
XYZxyz(18.8582, 20.3917, 21.3511)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E7A #7E797D
analogous
#7A7E79 #797E7A #797E7C
triadic
#797E7A #7A797E #7E7A79
tetradic
#797E7A #797A7E #7E797D #7E7C79
square
#797E7A #797A7E #7E797D #7E7C79
split-complementary
#797E7A #7C797E #7E797A
monochromatic
#3D403E #5B5F5C #797E7A #989C99 #B7BAB8

Accessibility & contrast

On white

4.14
#797E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#797E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E7A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E7A#FFFFFF#000000##000000
##797E7A1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7D7A
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#787E7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797e7a;
/* rgb */ color: rgb(121, 126, 122);
/* oklch */ color: oklch(58.8% 0.008 151.8);
Tailwind
colors: {
  custom: {
    50: '#9fa3a0',
    500: '#797e7a',
    950: '#000000',
  },
}
SCSS
$custom: #797e7a;
$custom-light: #9fa3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#797e7a",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 122
  },
  "hsl": {
    "h": 132,
    "s": 2.024,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.00846,
    "h": 151.8
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#797E7A
secondary
#ABA8AA
accent
#7DA2AB
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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