#797474#797474

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

Color values

HEX#797474
RGBrgb(121, 116, 116)
HSLhsl(0, 2%, 46%)
HSVhsv(0, 4%, 47%)
CMYKcmyk(0%, 4.1%, 4.1%, 52.5%)
CIE-LABlab(49.27, 1.92, 0.68)
CIE-LCHlch(49.27, 2.03, 19.64°)
OKLaboklab(56.34% 0.0059 0.0018)
OKLCHoklch(56.34% 0.006 17.3)
XYZxyz(17.2825, 17.8168, 19.0481)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797474 #747979
analogous
#797477 #797474 #797774
triadic
#797474 #747974 #747479
tetradic
#797474 #777974 #747979 #777479
square
#797474 #777974 #747979 #777479
split-complementary
#797474 #747977 #747779
monochromatic
#3B3838 #5A5656 #797474 #979393 #B5B2B2

Accessibility & contrast

On white

4.60
#797474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#797474 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797474
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797474#FFFFFF#000000##FFFFFF
##7974741.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757574
Deuteranopia (green-blind)
#767574
Tritanopia (blue-blind)
#7A7474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797474;
/* rgb */ color: rgb(121, 116, 116);
/* oklch */ color: oklch(56.3% 0.006 17.3);
Tailwind
colors: {
  custom: {
    50: '#9f9c9c',
    500: '#797474',
    950: '#000000',
  },
}
SCSS
$custom: #797474;
$custom-light: #9f9c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#797474",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 116
  },
  "hsl": {
    "h": 0,
    "s": 2.11,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.00617,
    "h": 17.3
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#797474
secondary
#A3A6A6
accent
#ABAB7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797474

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

Preview Lab → · Contrast checker → · Palette generator →

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