#797B86#797B86

#797B86 is a mid, near-neutral grey. Relative luminance 0.200; OKLCH L 58.5% C 0.017 H 277.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#797B86
RGBrgb(121, 123, 134)
HSLhsl(231, 5%, 50%)
HSVhsv(231, 10%, 53%)
CMYKcmyk(9.7%, 8.2%, 0%, 47.5%)
CIE-LABlab(51.78, 1.57, -6.23)
CIE-LCHlch(51.78, 6.42, 284.12°)
OKLaboklab(58.49% 0.0023 -0.0167)
OKLCHoklch(58.49% 0.017 277.7)
XYZxyz(19.2703, 19.9519, 25.3855)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B86 #868479
analogous
#798286 #797B86 #7D7986
triadic
#797B86 #86797B #7B8679
tetradic
#797B86 #867982 #868479 #79867D
square
#797B86 #867982 #868479 #79867D
split-complementary
#797B86 #867D79 #828679
monochromatic
#3F4046 #5C5D66 #797B86 #999BA3 #B9BAC0

Accessibility & contrast

On white

4.21
#797B86 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#797B86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B86
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B86#FFFFFF#000000##000000
##797B861.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#787C87
Deuteranopia (green-blind)
#787B86
Tritanopia (blue-blind)
#767D7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #797b86;
/* rgb */ color: rgb(121, 123, 134);
/* oklch */ color: oklch(58.5% 0.017 277.7);
Tailwind
colors: {
  custom: {
    50: '#9fa1a9',
    500: '#797b86',
    950: '#000000',
  },
}
SCSS
$custom: #797b86;
$custom-light: #9fa1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#797b86",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 134
  },
  "hsl": {
    "h": 230.769,
    "s": 5.098,
    "l": 50
  },
  "oklch": {
    "l": 0.58489,
    "c": 0.01688,
    "h": 277.7
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#797B86
secondary
#B0AFAA
accent
#A67AAE
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #797B86

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

Preview Lab → · Contrast checker → · Palette generator →

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