#797D71#797D71

#797D71 is a mid, near-neutral grey. Relative luminance 0.199; OKLCH L 58.3% C 0.019 H 122.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#797D71
RGBrgb(121, 125, 113)
HSLhsl(80, 5%, 47%)
HSVhsv(80, 10%, 49%)
CMYKcmyk(3.2%, 0%, 9.6%, 51%)
CIE-LABlab(51.75, -3.85, 6.03)
CIE-LCHlch(51.75, 7.15, 122.55°)
OKLaboklab(58.27% -0.0098 0.0157)
OKLCHoklch(58.27% 0.019 122)
XYZxyz(18.1990, 19.9244, 18.5066)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D71 #75717D
analogous
#7D7B71 #797D71 #737D71
triadic
#797D71 #71797D #7D7179
tetradic
#797D71 #717D7B #75717D #7D7173
square
#797D71 #717D7B #75717D #7D7173
split-complementary
#797D71 #71737D #7B717D
monochromatic
#3B3D37 #5A5D54 #797D71 #979B90 #B5B8B0

Accessibility & contrast

On white

4.21
#797D71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#797D71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D71
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D71#FFFFFF#000000##000000
##797D711.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7B70
Deuteranopia (green-blind)
#7E7B71
Tritanopia (blue-blind)
#7A7C79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797d71;
/* rgb */ color: rgb(121, 125, 113);
/* oklch */ color: oklch(58.3% 0.019 122.0);
Tailwind
colors: {
  custom: {
    50: '#9fa299',
    500: '#797d71',
    950: '#000000',
  },
}
SCSS
$custom: #797d71;
$custom-light: #9fa299;
$custom-dark: #000000;
JSON
{
  "hex": "#797d71",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 113
  },
  "hsl": {
    "h": 80,
    "s": 5.042,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.01854,
    "h": 122
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#797D71
secondary
#A4A2A8
accent
#7AAE8B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E

Preview Lab

Preview with #797D71

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

Preview Lab → · Contrast checker → · Palette generator →

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