#797476#797476

#797476 is a mid, near-neutral grey. Relative luminance 0.179; OKLCH L 56.4% C 0.007 H 351.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#797476
RGBrgb(121, 116, 118)
HSLhsl(336, 2%, 46%)
HSVhsv(336, 4%, 47%)
CMYKcmyk(0%, 4.1%, 2.5%, 52.5%)
CIE-LABlab(49.33, 2.31, -0.42)
CIE-LCHlch(49.33, 2.35, 349.77°)
OKLaboklab(56.41% 0.0067 -0.0011)
OKLCHoklch(56.41% 0.007 351)
XYZxyz(17.4001, 17.8638, 19.6674)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797476 #747977
analogous
#797479 #797476 #797574
triadic
#797476 #767974 #747679
tetradic
#797476 #797974 #747977 #757479
square
#797476 #797974 #747977 #757479
split-complementary
#797476 #747975 #747979
monochromatic
#3B3839 #5A5658 #797476 #979395 #B5B2B3

Accessibility & contrast

On white

4.59
#797476 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#797476 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797476
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797476#FFFFFF#000000##FFFFFF
##7974761.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747576
Deuteranopia (green-blind)
#757676
Tritanopia (blue-blind)
#7A7475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797476;
/* rgb */ color: rgb(121, 116, 118);
/* oklch */ color: oklch(56.4% 0.007 351.0);
Tailwind
colors: {
  custom: {
    50: '#9f9c9d',
    500: '#797476',
    950: '#000000',
  },
}
SCSS
$custom: #797476;
$custom-light: #9f9c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#797476",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 118
  },
  "hsl": {
    "h": 336,
    "s": 2.11,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.00682,
    "h": 351
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#797476
secondary
#A3A6A5
accent
#AB997C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797476

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

Preview Lab → · Contrast checker → · Palette generator →

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