#797F72#797F72

#797F72 is a mid, muted grey. Relative luminance 0.205; OKLCH L 58.7% C 0.021 H 127.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#797F72
RGBrgb(121, 127, 114)
HSLhsl(88, 5%, 47%)
HSVhsv(88, 10%, 50%)
CMYKcmyk(4.7%, 0%, 10.2%, 50.2%)
CIE-LABlab(52.35, -4.79, 6.30)
CIE-LCHlch(52.35, 7.92, 127.26°)
OKLaboklab(58.75% -0.0125 0.0164)
OKLCHoklch(58.75% 0.021 127.3)
XYZxyz(18.5113, 20.4586, 18.8900)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F72 #78727F
analogous
#7F7E72 #797F72 #737F72
triadic
#797F72 #72797F #7F7279
tetradic
#797F72 #727F7E #78727F #7F7273
square
#797F72 #727F7E #78727F #7F7273
split-complementary
#797F72 #72737F #7E727F
monochromatic
#3C3E38 #5A5F55 #797F72 #989D91 #B6BAB2

Accessibility & contrast

On white

4.12
#797F72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#797F72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F72
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F72#FFFFFF#000000##000000
##797F721.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#817D71
Deuteranopia (green-blind)
#807D73
Tritanopia (blue-blind)
#7A7E7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797f72;
/* rgb */ color: rgb(121, 127, 114);
/* oklch */ color: oklch(58.7% 0.021 127.3);
Tailwind
colors: {
  custom: {
    50: '#9fa49a',
    500: '#797f72',
    950: '#000000',
  },
}
SCSS
$custom: #797f72;
$custom-light: #9fa49a;
$custom-dark: #000000;
JSON
{
  "hex": "#797f72",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 114
  },
  "hsl": {
    "h": 87.692,
    "s": 5.394,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58749,
    "c": 0.02065,
    "h": 127.3
  },
  "luminance": 0.20459
}

Semantic roles & 50–950 ramp

primary
#797F72
secondary
#A6A3AA
accent
#79AF92
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797F72

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

Preview Lab → · Contrast checker → · Palette generator →

#797F72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva