#797E82#797E82

#797E82 is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.0% C 0.009 H 241.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#797E82
RGBrgb(121, 126, 130)
HSLhsl(207, 4%, 49%)
HSVhsv(207, 7%, 51%)
CMYKcmyk(6.9%, 3.1%, 0%, 49%)
CIE-LABlab(52.51, -1.03, -2.81)
CIE-LCHlch(52.51, 3.00, 249.96°)
OKLaboklab(59.02% -0.004 -0.0075)
OKLCHoklch(59.02% 0.009 241.8)
XYZxyz(19.3745, 20.5982, 24.0699)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E82 #827D79
analogous
#798282 #797E82 #797A82
triadic
#797E82 #82797E #7E8279
tetradic
#797E82 #827982 #827D79 #7A8279
square
#797E82 #827982 #827D79 #7A8279
split-complementary
#797E82 #82797A #828279
monochromatic
#3E4143 #5B5F62 #797E82 #999CA0 #B8BBBD

Accessibility & contrast

On white

4.10
#797E82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#797E82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E82
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E82#FFFFFF#000000##000000
##797E821.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7E82
Deuteranopia (green-blind)
#7B7D82
Tritanopia (blue-blind)
#777F7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797e82;
/* rgb */ color: rgb(121, 126, 130);
/* oklch */ color: oklch(59.0% 0.009 241.8);
Tailwind
colors: {
  custom: {
    50: '#9fa3a6',
    500: '#797e82',
    950: '#000000',
  },
}
SCSS
$custom: #797e82;
$custom-light: #9fa3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#797e82",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 130
  },
  "hsl": {
    "h": 206.667,
    "s": 3.586,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.00856,
    "h": 241.8
  },
  "luminance": 0.20598
}

Semantic roles & 50–950 ramp

primary
#797E82
secondary
#ADABA9
accent
#917BAD
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797E82

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

Preview Lab → · Contrast checker → · Palette generator →

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