#797F82#797F82

#797F82 is a mid, near-neutral grey. Relative luminance 0.209; OKLCH L 59.2% C 0.009 H 228.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#797F82
RGBrgb(121, 127, 130)
HSLhsl(200, 4%, 49%)
HSVhsv(200, 7%, 51%)
CMYKcmyk(6.9%, 2.3%, 0%, 49%)
CIE-LABlab(52.79, -1.60, -2.40)
CIE-LCHlch(52.79, 2.88, 236.27°)
OKLaboklab(59.24% -0.0056 -0.0064)
OKLCHoklch(59.24% 0.009 228.9)
XYZxyz(19.5030, 20.8552, 24.1127)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F82 #827C79
analogous
#798281 #797F82 #797B82
triadic
#797F82 #82797F #7F8279
tetradic
#797F82 #817982 #827C79 #7B8279
square
#797F82 #817982 #827C79 #7B8279
split-complementary
#797F82 #82797B #828179
monochromatic
#3E4143 #5B6062 #797F82 #999DA0 #B8BCBD

Accessibility & contrast

On white

4.06
#797F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#797F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F82
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F82#FFFFFF#000000##000000
##797F821.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7F82
Deuteranopia (green-blind)
#7C7E82
Tritanopia (blue-blind)
#778080
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797f82;
/* rgb */ color: rgb(121, 127, 130);
/* oklch */ color: oklch(59.2% 0.009 228.9);
Tailwind
colors: {
  custom: {
    50: '#9fa4a6',
    500: '#797f82',
    950: '#000000',
  },
}
SCSS
$custom: #797f82;
$custom-light: #9fa4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#797f82",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 130
  },
  "hsl": {
    "h": 200,
    "s": 3.586,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5924,
    "c": 0.00853,
    "h": 228.9
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#797F82
secondary
#ADABA9
accent
#8C7BAD
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797F82

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

Preview Lab → · Contrast checker → · Palette generator →

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