#797B71#797B71

#797B71 is a mid, near-neutral grey. Relative luminance 0.194; OKLCH L 57.8% C 0.015 H 116.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#797B71
RGBrgb(121, 123, 113)
HSLhsl(72, 4%, 46%)
HSVhsv(72, 8%, 48%)
CMYKcmyk(1.6%, 0%, 8.1%, 51.8%)
CIE-LABlab(51.18, -2.71, 5.21)
CIE-LCHlch(51.18, 5.87, 117.47°)
OKLaboklab(57.81% -0.0066 0.0136)
OKLCHoklch(57.81% 0.015 116)
XYZxyz(17.9483, 19.4232, 18.4231)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B71 #73717B
analogous
#7B7871 #797B71 #747B71
triadic
#797B71 #71797B #7B7179
tetradic
#797B71 #717B78 #73717B #7B7174
square
#797B71 #717B78 #73717B #7B7174
split-complementary
#797B71 #71747B #78717B
monochromatic
#3A3B36 #5A5B54 #797B71 #979990 #B5B6B0

Accessibility & contrast

On white

4.30
#797B71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#797B71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B71
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B71#FFFFFF#000000##000000
##797B711.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#7C7A71
Tritanopia (blue-blind)
#7A7A78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797b71;
/* rgb */ color: rgb(121, 123, 113);
/* oklch */ color: oklch(57.8% 0.015 116.0);
Tailwind
colors: {
  custom: {
    50: '#9fa199',
    500: '#797b71',
    950: '#000000',
  },
}
SCSS
$custom: #797b71;
$custom-light: #9fa199;
$custom-dark: #000000;
JSON
{
  "hex": "#797b71",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 113
  },
  "hsl": {
    "h": 72,
    "s": 4.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.01515,
    "h": 116
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#797B71
secondary
#A2A1A7
accent
#7AAD85
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797B71

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

Preview Lab → · Contrast checker → · Palette generator →

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