#797D86#797D86

#797D86 is a mid, near-neutral grey. Relative luminance 0.205; OKLCH L 58.9% C 0.014 H 266.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#797D86
RGBrgb(121, 125, 134)
HSLhsl(222, 5%, 50%)
HSVhsv(222, 10%, 53%)
CMYKcmyk(9.7%, 6.7%, 0%, 47.5%)
CIE-LABlab(52.35, 0.41, -5.39)
CIE-LCHlch(52.35, 5.41, 274.32°)
OKLaboklab(58.93% -0.0008 -0.0145)
OKLCHoklch(58.93% 0.014 266.6)
XYZxyz(19.5209, 20.4532, 25.4691)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D86 #868279
analogous
#798486 #797D86 #7B7986
triadic
#797D86 #86797D #7D8679
tetradic
#797D86 #867984 #868279 #79867B
square
#797D86 #867984 #868279 #79867B
split-complementary
#797D86 #867B79 #848679
monochromatic
#3F4146 #5C5F66 #797D86 #999CA3 #B9BBC0

Accessibility & contrast

On white

4.13
#797D86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#797D86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D86
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D86#FFFFFF#000000##000000
##797D861.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7D86
Deuteranopia (green-blind)
#797C86
Tritanopia (blue-blind)
#767F80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797d86;
/* rgb */ color: rgb(121, 125, 134);
/* oklch */ color: oklch(58.9% 0.014 266.6);
Tailwind
colors: {
  custom: {
    50: '#9fa2a9',
    500: '#797d86',
    950: '#000000',
  },
}
SCSS
$custom: #797d86;
$custom-light: #9fa2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#797d86",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 134
  },
  "hsl": {
    "h": 221.538,
    "s": 5.098,
    "l": 50
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.01449,
    "h": 266.6
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#797D86
secondary
#B0AFAA
accent
#9E7AAE
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F

Preview Lab

Preview with #797D86

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

Preview Lab → · Contrast checker → · Palette generator →

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