#797D78#797D78

#797D78 is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.5% C 0.009 H 139.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#797D78
RGBrgb(121, 125, 120)
HSLhsl(108, 2%, 48%)
HSVhsv(108, 4%, 49%)
CMYKcmyk(3.2%, 0%, 4%, 51%)
CIE-LABlab(51.94, -2.50, 2.20)
CIE-LCHlch(51.94, 3.33, 138.64°)
OKLaboklab(58.47% -0.0067 0.0058)
OKLCHoklch(58.47% 0.009 139.4)
XYZxyz(18.6084, 20.0882, 20.6627)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D78 #7C787D
analogous
#7B7D78 #797D78 #787D79
triadic
#797D78 #78797D #7D7879
tetradic
#797D78 #787B7D #7C787D #7D7978
square
#797D78 #787B7D #7C787D #7D7978
split-complementary
#797D78 #79787D #7D787B
monochromatic
#3D3F3C #5B5E5A #797D78 #989B97 #B7B9B6

Accessibility & contrast

On white

4.19
#797D78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##797D78#FFFFFF#000000##000000
##797D781.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7C78
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#797D7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797d78;
/* rgb */ color: rgb(121, 125, 120);
/* oklch */ color: oklch(58.5% 0.009 139.4);
Tailwind
colors: {
  custom: {
    50: '#9fa29f',
    500: '#797d78',
    950: '#000000',
  },
}
SCSS
$custom: #797d78;
$custom-light: #9fa29f;
$custom-dark: #000000;
JSON
{
  "hex": "#797d78",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 120
  },
  "hsl": {
    "h": 108,
    "s": 2.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.00889,
    "h": 139.4
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#797D78
secondary
#A9A7AA
accent
#7DABA2
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E

Preview Lab

Preview with #797D78

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

Preview Lab → · Contrast checker → · Palette generator →

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