#797173#797173

#797173 is a mid, near-neutral grey. Relative luminance 0.171; OKLCH L 55.7% C 0.010 H 0.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#797173
RGBrgb(121, 113, 115)
HSLhsl(345, 3%, 46%)
HSVhsv(345, 7%, 47%)
CMYKcmyk(0%, 6.6%, 5%, 52.5%)
CIE-LABlab(48.40, 3.48, 0.01)
CIE-LCHlch(48.40, 3.48, 0.11°)
OKLaboklab(55.65% 0.0104 0.0001)
OKLCHoklch(55.65% 0.01 0.4)
XYZxyz(16.8844, 17.1132, 18.6300)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797173 #717977
analogous
#797177 #797173 #797371
triadic
#797173 #737971 #717379
tetradic
#797173 #777971 #717977 #737179
square
#797173 #777971 #717977 #737179
split-complementary
#797173 #717973 #717779
monochromatic
#3A3637 #595355 #797173 #979092 #B5B0B1

Accessibility & contrast

On white

4.75
#797173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#797173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797173
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797173#FFFFFF#000000##FFFFFF
##7971731.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727273
Deuteranopia (green-blind)
#747373
Tritanopia (blue-blind)
#7B7172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797173;
/* rgb */ color: rgb(121, 113, 115);
/* oklch */ color: oklch(55.7% 0.010 0.4);
Tailwind
colors: {
  custom: {
    50: '#9f999b',
    500: '#797173',
    950: '#000000',
  },
}
SCSS
$custom: #797173;
$custom-light: #9f999b;
$custom-dark: #000000;
JSON
{
  "hex": "#797173",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 115
  },
  "hsl": {
    "h": 345,
    "s": 3.419,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55651,
    "c": 0.01035,
    "h": 0.4
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#797173
secondary
#A1A5A4
accent
#ADA07B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797173

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

Preview Lab → · Contrast checker → · Palette generator →

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