#797F71#797F71

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

Color values

HEX#797F71
RGBrgb(121, 127, 113)
HSLhsl(86, 6%, 47%)
HSVhsv(86, 11%, 50%)
CMYKcmyk(4.7%, 0%, 11%, 50.2%)
CIE-LABlab(52.33, -4.98, 6.85)
CIE-LCHlch(52.33, 8.47, 126.03°)
OKLaboklab(58.72% -0.013 0.0178)
OKLCHoklch(58.72% 0.022 126)
XYZxyz(18.4547, 20.4359, 18.5919)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F71 #77717F
analogous
#7F7E71 #797F71 #727F71
triadic
#797F71 #71797F #7F7179
tetradic
#797F71 #717F7E #77717F #7F7172
square
#797F71 #717F7E #77717F #7F7172
split-complementary
#797F71 #71727F #7E717F
monochromatic
#3B3E37 #5A5F54 #797F71 #979D91 #B6BAB1

Accessibility & contrast

On white

4.13
#797F71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##797F71#FFFFFF#000000##000000
##797F711.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797f71;
/* rgb */ color: rgb(121, 127, 113);
/* oklch */ color: oklch(58.7% 0.022 126.0);
Tailwind
colors: {
  custom: {
    50: '#9fa499',
    500: '#797f71',
    950: '#000000',
  },
}
SCSS
$custom: #797f71;
$custom-light: #9fa499;
$custom-dark: #000000;
JSON
{
  "hex": "#797f71",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 113
  },
  "hsl": {
    "h": 85.714,
    "s": 5.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58721,
    "c": 0.02204,
    "h": 126
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#797F71
secondary
#A5A2AA
accent
#79AF90
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797F71

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

Preview Lab → · Contrast checker → · Palette generator →

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