#797178#797178

#797178 is a mid, near-neutral grey. Relative luminance 0.172; OKLCH L 55.8% C 0.014 H 329.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#797178
RGBrgb(121, 113, 120)
HSLhsl(308, 3%, 46%)
HSVhsv(308, 7%, 47%)
CMYKcmyk(0%, 6.6%, 0.8%, 52.5%)
CIE-LABlab(48.55, 4.47, -2.75)
CIE-LCHlch(48.55, 5.25, 328.41°)
OKLaboklab(55.82% 0.0124 -0.0073)
OKLCHoklch(55.82% 0.014 329.7)
XYZxyz(17.1800, 17.2314, 20.1866)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797178 #717972
analogous
#767179 #797178 #797174
triadic
#797178 #787971 #717879
tetradic
#797178 #797671 #717972 #717479
square
#797178 #797671 #717972 #717479
split-complementary
#797178 #747971 #717976
monochromatic
#3A3639 #595359 #797178 #979096 #B5B0B4

Accessibility & contrast

On white

4.72
#797178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#797178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797178
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797178#FFFFFF#000000##FFFFFF
##7971781.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797178;
/* rgb */ color: rgb(121, 113, 120);
/* oklch */ color: oklch(55.8% 0.014 329.7);
Tailwind
colors: {
  custom: {
    50: '#9f999f',
    500: '#797178',
    950: '#000000',
  },
}
SCSS
$custom: #797178;
$custom-light: #9f999f;
$custom-dark: #000000;
JSON
{
  "hex": "#797178",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 120
  },
  "hsl": {
    "h": 307.5,
    "s": 3.419,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.0144,
    "h": 329.7
  },
  "luminance": 0.17231
}

Semantic roles & 50–950 ramp

primary
#797178
secondary
#A1A5A1
accent
#AD817B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797178

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

Preview Lab → · Contrast checker → · Palette generator →

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