#797E72#797E72

#797E72 is a mid, near-neutral grey. Relative luminance 0.202; OKLCH L 58.5% C 0.019 H 125.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#797E72
RGBrgb(121, 126, 114)
HSLhsl(85, 5%, 47%)
HSVhsv(85, 10%, 49%)
CMYKcmyk(4%, 0%, 9.5%, 50.6%)
CIE-LABlab(52.06, -4.23, 5.89)
CIE-LCHlch(52.06, 7.25, 125.67°)
OKLaboklab(58.52% -0.011 0.0154)
OKLCHoklch(58.52% 0.019 125.5)
XYZxyz(18.3828, 20.2015, 18.8472)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E72 #77727E
analogous
#7E7D72 #797E72 #737E72
triadic
#797E72 #72797E #7E7279
tetradic
#797E72 #727E7D #77727E #7E7273
square
#797E72 #727E7D #77727E #7E7273
split-complementary
#797E72 #72737E #7D727E
monochromatic
#3B3E38 #5A5E55 #797E72 #979C91 #B6B9B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797E72#FFFFFF#000000##000000
##797E721.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)
#807C71
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#7A7D7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e72;
/* rgb */ color: rgb(121, 126, 114);
/* oklch */ color: oklch(58.5% 0.019 125.5);
Tailwind
colors: {
  custom: {
    50: '#9fa39a',
    500: '#797e72',
    950: '#000000',
  },
}
SCSS
$custom: #797e72;
$custom-light: #9fa39a;
$custom-dark: #000000;
JSON
{
  "hex": "#797e72",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 114
  },
  "hsl": {
    "h": 85,
    "s": 5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58522,
    "c": 0.01887,
    "h": 125.5
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#797E72
secondary
#A5A3A9
accent
#7AAE90
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797E72

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

Preview Lab → · Contrast checker → · Palette generator →

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