#797377#797377

#797377 is a mid, near-neutral grey. Relative luminance 0.177; OKLCH L 56.2% C 0.009 H 337.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#797377
RGBrgb(121, 115, 119)
HSLhsl(320, 3%, 46%)
HSVhsv(320, 5%, 47%)
CMYKcmyk(0%, 5%, 1.7%, 52.5%)
CIE-LABlab(49.08, 3.09, -1.38)
CIE-LCHlch(49.08, 3.39, 336.00°)
OKLaboklab(56.22% 0.0088 -0.0036)
OKLCHoklch(56.22% 0.01 337.6)
XYZxyz(17.3452, 17.6584, 19.9438)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797377 #737975
analogous
#787379 #797377 #797374
triadic
#797377 #777973 #737779
tetradic
#797377 #797873 #737975 #737479
square
#797377 #797873 #737975 #737479
split-complementary
#797377 #747973 #737978
monochromatic
#3A3739 #5A5558 #797377 #979296 #B5B1B4

Accessibility & contrast

On white

4.63
#797377 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#797377 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797377
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797377#FFFFFF#000000##FFFFFF
##7973771.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797377;
/* rgb */ color: rgb(121, 115, 119);
/* oklch */ color: oklch(56.2% 0.009 337.6);
Tailwind
colors: {
  custom: {
    50: '#9f9b9e',
    500: '#797377',
    950: '#000000',
  },
}
SCSS
$custom: #797377;
$custom-light: #9f9b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#797377",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 119
  },
  "hsl": {
    "h": 320,
    "s": 2.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.0095,
    "h": 337.6
  },
  "luminance": 0.17658
}

Semantic roles & 50–950 ramp

primary
#797377
secondary
#A2A6A3
accent
#AC8C7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797377

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

Preview Lab → · Contrast checker → · Palette generator →

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