#797F84#797F84

#797F84 is a mid, near-neutral grey. Relative luminance 0.209; OKLCH L 59.3% C 0.010 H 242.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#797F84
RGBrgb(121, 127, 132)
HSLhsl(207, 4%, 50%)
HSVhsv(207, 8%, 52%)
CMYKcmyk(8.3%, 3.8%, 0%, 48.2%)
CIE-LABlab(52.85, -1.18, -3.48)
CIE-LCHlch(52.85, 3.67, 251.32°)
OKLaboklab(59.31% -0.0048 -0.0093)
OKLCHoklch(59.31% 0.01 242.9)
XYZxyz(19.6385, 20.9094, 24.8266)
Luminance0.2091 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F84 #847E79
analogous
#798484 #797F84 #797A84
triadic
#797F84 #84797F #7F8479
tetradic
#797F84 #847984 #847E79 #7A8479
square
#797F84 #847984 #847E79 #7A8479
split-complementary
#797F84 #84797A #848479
monochromatic
#3E4244 #5C6064 #797F84 #999DA1 #B9BCBF

Accessibility & contrast

On white

4.05
#797F84 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#797F84 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F84
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F84#FFFFFF#000000##000000
##797F841.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7F84
Deuteranopia (green-blind)
#7C7E84
Tritanopia (blue-blind)
#768081
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797f84;
/* rgb */ color: rgb(121, 127, 132);
/* oklch */ color: oklch(59.3% 0.010 242.9);
Tailwind
colors: {
  custom: {
    50: '#9fa4a7',
    500: '#797f84',
    950: '#000000',
  },
}
SCSS
$custom: #797f84;
$custom-light: #9fa4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#797f84",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 132
  },
  "hsl": {
    "h": 207.273,
    "s": 4.348,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59307,
    "c": 0.01047,
    "h": 242.9
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#797F84
secondary
#AFACAA
accent
#927AAE
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797F84

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

Preview Lab → · Contrast checker → · Palette generator →

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