#797E6D#797E6D

#797E6D is a mid, muted grey. Relative luminance 0.201; OKLCH L 58.4% C 0.026 H 120.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#797E6D
RGBrgb(121, 126, 109)
HSLhsl(78, 7%, 46%)
HSVhsv(78, 13%, 49%)
CMYKcmyk(4%, 0%, 13.5%, 50.6%)
CIE-LABlab(51.94, -5.15, 8.63)
CIE-LCHlch(51.94, 10.05, 120.83°)
OKLaboklab(58.38% -0.0132 0.0224)
OKLCHoklch(58.38% 0.026 120.5)
XYZxyz(18.1060, 20.0908, 17.3891)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E6D #726D7E
analogous
#7E7A6D #797E6D #707E6D
triadic
#797E6D #6D797E #7E6D79
tetradic
#797E6D #6D7E7A #726D7E #7E6D70
square
#797E6D #6D7E7A #726D7E #7E6D70
split-complementary
#797E6D #6D707E #7A6D7E
monochromatic
#3A3C34 #595D51 #797E6D #979C8C #B5B8AD

Accessibility & contrast

On white

4.18
#797E6D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#797E6D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E6D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E6D#FFFFFF#000000##000000
##797E6D1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807C6C
Deuteranopia (green-blind)
#807C6E
Tritanopia (blue-blind)
#7B7C79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e6d;
/* rgb */ color: rgb(121, 126, 109);
/* oklch */ color: oklch(58.4% 0.026 120.5);
Tailwind
colors: {
  custom: {
    50: '#9fa396',
    500: '#797e6d',
    950: '#000000',
  },
}
SCSS
$custom: #797e6d;
$custom-light: #9fa396;
$custom-dark: #000000;
JSON
{
  "hex": "#797e6d",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 109
  },
  "hsl": {
    "h": 77.647,
    "s": 7.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.02596,
    "h": 120.5
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#797E6D
secondary
#A19FA8
accent
#78B088
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0D
muted
#7E7F7E

Preview Lab

Preview with #797E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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