#797E84#797E84

#797E84 is a mid, near-neutral grey. Relative luminance 0.207; OKLCH L 59.1% C 0.011 H 252.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#797E84
RGBrgb(121, 126, 132)
HSLhsl(213, 4%, 50%)
HSVhsv(213, 8%, 52%)
CMYKcmyk(8.3%, 4.5%, 0%, 48.2%)
CIE-LABlab(52.57, -0.60, -3.90)
CIE-LCHlch(52.57, 3.94, 261.23°)
OKLaboklab(59.08% -0.0032 -0.0104)
OKLCHoklch(59.08% 0.011 252.9)
XYZxyz(19.5100, 20.6524, 24.7838)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E84 #847F79
analogous
#798484 #797E84 #7A7984
triadic
#797E84 #84797E #7E8479
tetradic
#797E84 #847984 #847F79 #79847A
square
#797E84 #847984 #847F79 #79847A
split-complementary
#797E84 #847A79 #848479
monochromatic
#3E4144 #5C6064 #797E84 #999DA1 #B9BBBF

Accessibility & contrast

On white

4.09
#797E84 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#797E84 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E84
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E84#FFFFFF#000000##000000
##797E841.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7E84
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#767F80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797e84;
/* rgb */ color: rgb(121, 126, 132);
/* oklch */ color: oklch(59.1% 0.011 252.9);
Tailwind
colors: {
  custom: {
    50: '#9fa3a7',
    500: '#797e84',
    950: '#000000',
  },
}
SCSS
$custom: #797e84;
$custom-light: #9fa3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#797e84",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 132
  },
  "hsl": {
    "h": 212.727,
    "s": 4.348,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.01093,
    "h": 252.9
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#797E84
secondary
#AFADAA
accent
#967AAE
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797E84

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

Preview Lab → · Contrast checker → · Palette generator →

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