#797472#797472

#797472 is a mid, near-neutral grey. Relative luminance 0.178; OKLCH L 56.3% C 0.007 H 43.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#797472
RGBrgb(121, 116, 114)
HSLhsl(17, 3%, 46%)
HSVhsv(17, 6%, 47%)
CMYKcmyk(0%, 4.1%, 5.8%, 52.5%)
CIE-LABlab(49.22, 1.53, 1.79)
CIE-LCHlch(49.22, 2.35, 49.46°)
OKLaboklab(56.28% 0.005 0.0047)
OKLCHoklch(56.28% 0.007 43.3)
XYZxyz(17.1674, 17.7708, 18.4420)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797472 #727779
analogous
#797273 #797472 #797772
triadic
#797472 #727974 #747279
tetradic
#797472 #737972 #727779 #777279
square
#797472 #737972 #727779 #777279
split-complementary
#797472 #727977 #727379
monochromatic
#3A3837 #595654 #797472 #979391 #B5B2B0

Accessibility & contrast

On white

4.61
#797472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#797472 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797472
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797472#FFFFFF#000000##FFFFFF
##7974721.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757472
Deuteranopia (green-blind)
#767572
Tritanopia (blue-blind)
#7B7373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797472;
/* rgb */ color: rgb(121, 116, 114);
/* oklch */ color: oklch(56.3% 0.007 43.3);
Tailwind
colors: {
  custom: {
    50: '#9f9c9a',
    500: '#797472',
    950: '#000000',
  },
}
SCSS
$custom: #797472;
$custom-light: #9f9c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#797472",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 114
  },
  "hsl": {
    "h": 17.143,
    "s": 2.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.00691,
    "h": 43.3
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#797472
secondary
#A1A4A5
accent
#9EAC7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797472

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

Preview Lab → · Contrast checker → · Palette generator →

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