#797C71#797C71

#797C71 is a mid, near-neutral grey. Relative luminance 0.197; OKLCH L 58.0% C 0.017 H 119.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#797C71
RGBrgb(121, 124, 113)
HSLhsl(76, 5%, 46%)
HSVhsv(76, 9%, 49%)
CMYKcmyk(2.4%, 0%, 8.9%, 51.4%)
CIE-LABlab(51.46, -3.28, 5.62)
CIE-LCHlch(51.46, 6.50, 120.27°)
OKLaboklab(58.04% -0.0082 0.0147)
OKLCHoklch(58.04% 0.017 119.3)
XYZxyz(18.0730, 19.6725, 18.4646)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C71 #74717C
analogous
#7C7A71 #797C71 #747C71
triadic
#797C71 #71797C #7C7179
tetradic
#797C71 #717C7A #74717C #7C7174
square
#797C71 #717C7A #74717C #7C7174
split-complementary
#797C71 #71747C #7A717C
monochromatic
#3B3C37 #5A5C54 #797C71 #979A90 #B5B7B0

Accessibility & contrast

On white

4.26
#797C71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#797C71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C71
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C71#FFFFFF#000000##000000
##797C711.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7B70
Deuteranopia (green-blind)
#7D7B71
Tritanopia (blue-blind)
#7A7B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797c71;
/* rgb */ color: rgb(121, 124, 113);
/* oklch */ color: oklch(58.0% 0.017 119.3);
Tailwind
colors: {
  custom: {
    50: '#9fa199',
    500: '#797c71',
    950: '#000000',
  },
}
SCSS
$custom: #797c71;
$custom-light: #9fa199;
$custom-dark: #000000;
JSON
{
  "hex": "#797c71",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 113
  },
  "hsl": {
    "h": 76.364,
    "s": 4.641,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5804,
    "c": 0.01682,
    "h": 119.3
  },
  "luminance": 0.19673
}

Semantic roles & 50–950 ramp

primary
#797C71
secondary
#A3A1A7
accent
#7AAE88
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E

Preview Lab

Preview with #797C71

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

Preview Lab → · Contrast checker → · Palette generator →

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