#797374#797374

#797374 is a mid, near-neutral grey. Relative luminance 0.176; OKLCH L 56.1% C 0.008 H 5.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#797374
RGBrgb(121, 115, 116)
HSLhsl(350, 3%, 46%)
HSVhsv(350, 5%, 47%)
CMYKcmyk(0%, 5%, 4.1%, 52.5%)
CIE-LABlab(48.99, 2.50, 0.27)
CIE-LCHlch(48.99, 2.51, 6.24°)
OKLaboklab(56.12% 0.0075 0.0008)
OKLCHoklch(56.12% 0.008 5.8)
XYZxyz(17.1679, 17.5875, 19.0099)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797374 #737978
analogous
#797377 #797374 #797573
triadic
#797374 #747973 #737479
tetradic
#797374 #777973 #737978 #757379
square
#797374 #777973 #737978 #757379
split-complementary
#797374 #737975 #737779
monochromatic
#3A3738 #5A5556 #797374 #979293 #B5B1B2

Accessibility & contrast

On white

4.65
#797374 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#797374 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797374
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797374#FFFFFF#000000##FFFFFF
##7973741.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747474
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#7A7373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797374;
/* rgb */ color: rgb(121, 115, 116);
/* oklch */ color: oklch(56.1% 0.008 5.8);
Tailwind
colors: {
  custom: {
    50: '#9f9b9c',
    500: '#797374',
    950: '#000000',
  },
}
SCSS
$custom: #797374;
$custom-light: #9f9b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#797374",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 116
  },
  "hsl": {
    "h": 350,
    "s": 2.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.00755,
    "h": 5.8
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#797374
secondary
#A2A6A5
accent
#ACA47C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797374

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

Preview Lab → · Contrast checker → · Palette generator →

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