#797E71#797E71

#797E71 is a mid, muted grey. Relative luminance 0.202; OKLCH L 58.5% C 0.020 H 124.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#797E71
RGBrgb(121, 126, 113)
HSLhsl(83, 5%, 47%)
HSVhsv(83, 10%, 49%)
CMYKcmyk(4%, 0%, 10.3%, 50.6%)
CIE-LABlab(52.04, -4.42, 6.44)
CIE-LCHlch(52.04, 7.81, 124.44°)
OKLaboklab(58.49% -0.0114 0.0168)
OKLCHoklch(58.49% 0.02 124.2)
XYZxyz(18.3262, 20.1789, 18.5490)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E71 #76717E
analogous
#7E7D71 #797E71 #737E71
triadic
#797E71 #71797E #7E7179
tetradic
#797E71 #717E7D #76717E #7E7173
square
#797E71 #717E7D #76717E #7E7173
split-complementary
#797E71 #71737E #7D717E
monochromatic
#3B3D37 #5A5E54 #797E71 #979C90 #B6B9B1

Accessibility & contrast

On white

4.17
#797E71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#797E71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E71
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E71#FFFFFF#000000##000000
##797E711.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#807C70
Deuteranopia (green-blind)
#7F7C71
Tritanopia (blue-blind)
#7A7D7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e71;
/* rgb */ color: rgb(121, 126, 113);
/* oklch */ color: oklch(58.5% 0.020 124.2);
Tailwind
colors: {
  custom: {
    50: '#9fa399',
    500: '#797e71',
    950: '#000000',
  },
}
SCSS
$custom: #797e71;
$custom-light: #9fa399;
$custom-dark: #000000;
JSON
{
  "hex": "#797e71",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 113
  },
  "hsl": {
    "h": 83.077,
    "s": 5.439,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.02028,
    "h": 124.2
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#797E71
secondary
#A5A2A9
accent
#79AF8E
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797E71

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

Preview Lab → · Contrast checker → · Palette generator →

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