#797376#797376

#797376 is a mid, near-neutral grey. Relative luminance 0.176; OKLCH L 56.2% C 0.009 H 345.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#797376
RGBrgb(121, 115, 118)
HSLhsl(330, 3%, 46%)
HSVhsv(330, 5%, 47%)
CMYKcmyk(0%, 5%, 2.5%, 52.5%)
CIE-LABlab(49.05, 2.89, -0.83)
CIE-LCHlch(49.05, 3.01, 344.04°)
OKLaboklab(56.19% 0.0084 -0.0021)
OKLCHoklch(56.19% 0.009 345.6)
XYZxyz(17.2854, 17.6345, 19.6292)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797376 #737976
analogous
#797379 #797376 #797373
triadic
#797376 #767973 #737679
tetradic
#797376 #797973 #737976 #737379
square
#797376 #797973 #737976 #737379
split-complementary
#797376 #737973 #737979
monochromatic
#3A3739 #5A5557 #797376 #979295 #B5B1B3

Accessibility & contrast

On white

4.64
#797376 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#797376 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #797376
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797376#FFFFFF#000000##FFFFFF
##7973761.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737476
Deuteranopia (green-blind)
#757576
Tritanopia (blue-blind)
#7A7374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797376;
/* rgb */ color: rgb(121, 115, 118);
/* oklch */ color: oklch(56.2% 0.009 345.6);
Tailwind
colors: {
  custom: {
    50: '#9f9b9d',
    500: '#797376',
    950: '#000000',
  },
}
SCSS
$custom: #797376;
$custom-light: #9f9b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#797376",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 118
  },
  "hsl": {
    "h": 330,
    "s": 2.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56187,
    "c": 0.00863,
    "h": 345.6
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#797376
secondary
#A2A6A4
accent
#AC947C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797376

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

Preview Lab → · Contrast checker → · Palette generator →

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