#796972#796972

#796972 is a mid, muted grey. Relative luminance 0.154; OKLCH L 53.9% C 0.024 H 343.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#796972
RGBrgb(121, 105, 114)
HSLhsl(326, 7%, 44%)
HSVhsv(326, 13%, 47%)
CMYKcmyk(0%, 13.2%, 5.8%, 52.5%)
CIE-LABlab(46.15, 8.02, -2.69)
CIE-LCHlch(46.15, 8.46, 341.44°)
OKLaboklab(53.89% 0.0232 -0.007)
OKLCHoklch(53.89% 0.024 343.1)
XYZxyz(15.9737, 15.3833, 18.0441)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796972 #697970
analogous
#786979 #796972 #79696A
triadic
#796972 #727969 #697279
tetradic
#796972 #797869 #697970 #696A79
square
#796972 #797869 #697970 #696A79
split-complementary
#796972 #6A7969 #697978
monochromatic
#373034 #584D53 #796972 #978891 #B4A8AF

Accessibility & contrast

On white

5.15
#796972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#796972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796972
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796972#FFFFFF#000000##FFFFFF
##7969721.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C72
Deuteranopia (green-blind)
#6D6E72
Tritanopia (blue-blind)
#7B696C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #796972;
/* rgb */ color: rgb(121, 105, 114);
/* oklch */ color: oklch(53.9% 0.024 343.1);
Tailwind
colors: {
  custom: {
    50: '#9f939a',
    500: '#796972',
    950: '#000000',
  },
}
SCSS
$custom: #796972;
$custom-light: #9f939a;
$custom-dark: #000000;
JSON
{
  "hex": "#796972",
  "rgb": {
    "r": 121,
    "g": 105,
    "b": 114
  },
  "hsl": {
    "h": 326.25,
    "s": 7.08,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.0242,
    "h": 343.1
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#796972
secondary
#9AA49E
accent
#B09078
background
#F9F9F9
surface
#F2F1F2
border
#CCCBCC
text
#0E0D0E
muted
#7E7E7E

Preview Lab

Preview with #796972

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

Preview Lab → · Contrast checker → · Palette generator →

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