#797E86#797E86

#797E86 is a mid, near-neutral grey. Relative luminance 0.207; OKLCH L 59.2% C 0.014 H 259.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#797E86
RGBrgb(121, 126, 134)
HSLhsl(217, 5%, 50%)
HSVhsv(217, 10%, 53%)
CMYKcmyk(9.7%, 6%, 0%, 47.5%)
CIE-LABlab(52.63, -0.17, -4.97)
CIE-LCHlch(52.63, 4.98, 268.05°)
OKLaboklab(59.15% -0.0024 -0.0133)
OKLCHoklch(59.15% 0.014 259.8)
XYZxyz(19.6482, 20.7077, 25.5115)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E86 #868179
analogous
#798486 #797E86 #7B7986
triadic
#797E86 #86797E #7E8679
tetradic
#797E86 #867984 #868179 #79867B
square
#797E86 #867984 #868179 #79867B
split-complementary
#797E86 #867B79 #848679
monochromatic
#3F4246 #5C6066 #797E86 #999DA3 #B9BCC0

Accessibility & contrast

On white

4.08
#797E86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#797E86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E86
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E86#FFFFFF#000000##000000
##797E861.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7E86
Deuteranopia (green-blind)
#7A7D86
Tritanopia (blue-blind)
#768080
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797e86;
/* rgb */ color: rgb(121, 126, 134);
/* oklch */ color: oklch(59.2% 0.014 259.8);
Tailwind
colors: {
  custom: {
    50: '#9fa3a9',
    500: '#797e86',
    950: '#000000',
  },
}
SCSS
$custom: #797e86;
$custom-light: #9fa3a9;
$custom-dark: #000000;
JSON
{
  "hex": "#797e86",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 134
  },
  "hsl": {
    "h": 216.923,
    "s": 5.098,
    "l": 50
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.01356,
    "h": 259.8
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#797E86
secondary
#B0AEAA
accent
#9A7AAE
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797E86

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

Preview Lab → · Contrast checker → · Palette generator →

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