#797477#797477

#797477 is a mid, near-neutral grey. Relative luminance 0.179; OKLCH L 56.4% C 0.008 H 340.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797477
RGBrgb(121, 116, 119)
HSLhsl(324, 2%, 46%)
HSVhsv(324, 4%, 47%)
CMYKcmyk(0%, 4.1%, 1.7%, 52.5%)
CIE-LABlab(49.36, 2.51, -0.97)
CIE-LCHlch(49.36, 2.69, 338.92°)
OKLaboklab(56.44% 0.0072 -0.0025)
OKLCHoklch(56.44% 0.008 340.5)
XYZxyz(17.4598, 17.8877, 19.9821)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797477 #747976
analogous
#797479 #797477 #797475
triadic
#797477 #777974 #747779
tetradic
#797477 #797974 #747976 #747579
square
#797477 #797974 #747976 #747579
split-complementary
#797477 #757974 #747979
monochromatic
#3B383A #5A5658 #797477 #979396 #B5B2B4

Accessibility & contrast

On white

4.59
#797477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#797477 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797477
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797477#FFFFFF#000000##FFFFFF
##7974771.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747577
Deuteranopia (green-blind)
#757677
Tritanopia (blue-blind)
#7A7475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797477;
/* rgb */ color: rgb(121, 116, 119);
/* oklch */ color: oklch(56.4% 0.008 340.5);
Tailwind
colors: {
  custom: {
    50: '#9f9c9e',
    500: '#797477',
    950: '#000000',
  },
}
SCSS
$custom: #797477;
$custom-light: #9f9c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#797477",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 119
  },
  "hsl": {
    "h": 324,
    "s": 2.11,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.00759,
    "h": 340.5
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#797477
secondary
#A3A6A4
accent
#AB8F7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797477

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

Preview Lab → · Contrast checker → · Palette generator →

#797477 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva