#797F86#797F86

#797F86 is a mid, near-neutral grey. Relative luminance 0.210; OKLCH L 59.4% C 0.013 H 252.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#797F86
RGBrgb(121, 127, 134)
HSLhsl(212, 5%, 50%)
HSVhsv(212, 10%, 53%)
CMYKcmyk(9.7%, 5.2%, 0%, 47.5%)
CIE-LABlab(52.91, -0.75, -4.55)
CIE-LCHlch(52.91, 4.62, 260.71°)
OKLaboklab(59.38% -0.0039 -0.0122)
OKLCHoklch(59.38% 0.013 252.1)
XYZxyz(19.7767, 20.9647, 25.5543)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F86 #868079
analogous
#798586 #797F86 #7A7986
triadic
#797F86 #86797F #7F8679
tetradic
#797F86 #867985 #868079 #79867A
square
#797F86 #867985 #868079 #79867A
split-complementary
#797F86 #867A79 #858679
monochromatic
#3F4246 #5C6166 #797F86 #999EA3 #B9BCC0

Accessibility & contrast

On white

4.04
#797F86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#797F86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F86
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F86#FFFFFF#000000##000000
##797F861.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7F86
Deuteranopia (green-blind)
#7B7E86
Tritanopia (blue-blind)
#768181
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797f86;
/* rgb */ color: rgb(121, 127, 134);
/* oklch */ color: oklch(59.4% 0.013 252.1);
Tailwind
colors: {
  custom: {
    50: '#9fa4a9',
    500: '#797f86',
    950: '#000000',
  },
}
SCSS
$custom: #797f86;
$custom-light: #9fa4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#797f86",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 134
  },
  "hsl": {
    "h": 212.308,
    "s": 5.098,
    "l": 50
  },
  "oklch": {
    "l": 0.59375,
    "c": 0.01285,
    "h": 252.1
  },
  "luminance": 0.20965
}

Semantic roles & 50–950 ramp

primary
#797F86
secondary
#B0AEAA
accent
#967AAE
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797F86

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

Preview Lab → · Contrast checker → · Palette generator →

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