#797176#797176

#797176 is a mid, near-neutral grey. Relative luminance 0.172; OKLCH L 55.7% C 0.012 H 339.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#797176
RGBrgb(121, 113, 118)
HSLhsl(323, 3%, 46%)
HSVhsv(323, 7%, 47%)
CMYKcmyk(0%, 6.6%, 2.5%, 52.5%)
CIE-LABlab(48.49, 4.07, -1.65)
CIE-LCHlch(48.49, 4.39, 337.95°)
OKLaboklab(55.75% 0.0116 -0.0043)
OKLCHoklch(55.75% 0.012 339.6)
XYZxyz(17.0599, 17.1834, 19.5540)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797176 #717974
analogous
#787179 #797176 #797172
triadic
#797176 #767971 #717679
tetradic
#797176 #797871 #717974 #717279
square
#797176 #797871 #717974 #717279
split-complementary
#797176 #727971 #717978
monochromatic
#3A3638 #595357 #797176 #979095 #B5B0B3

Accessibility & contrast

On white

4.73
#797176 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#797176 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797176
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797176#FFFFFF#000000##FFFFFF
##7971761.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717276
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#7A7173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #797176;
/* rgb */ color: rgb(121, 113, 118);
/* oklch */ color: oklch(55.7% 0.012 339.6);
Tailwind
colors: {
  custom: {
    50: '#9f999d',
    500: '#797176',
    950: '#000000',
  },
}
SCSS
$custom: #797176;
$custom-light: #9f999d;
$custom-dark: #000000;
JSON
{
  "hex": "#797176",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 118
  },
  "hsl": {
    "h": 322.5,
    "s": 3.419,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.01239,
    "h": 339.6
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#797176
secondary
#A1A5A2
accent
#AD8E7B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797176

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

Preview Lab → · Contrast checker → · Palette generator →

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