#797C81#797C81

#797C81 is a mid, near-neutral grey. Relative luminance 0.201; OKLCH L 58.5% C 0.008 H 260.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#797C81
RGBrgb(121, 124, 129)
HSLhsl(218, 3%, 49%)
HSVhsv(218, 6%, 51%)
CMYKcmyk(6.2%, 3.9%, 0%, 49.4%)
CIE-LABlab(51.91, -0.09, -3.11)
CIE-LCHlch(51.91, 3.11, 268.42°)
OKLaboklab(58.54% -0.0014 -0.0083)
OKLCHoklch(58.54% 0.008 260.7)
XYZxyz(19.0545, 20.0651, 23.6337)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C81 #817E79
analogous
#798081 #797C81 #7A7981
triadic
#797C81 #81797C #7C8179
tetradic
#797C81 #817980 #817E79 #79817A
square
#797C81 #817980 #817E79 #79817A
split-complementary
#797C81 #817A79 #808179
monochromatic
#3E3F42 #5B5E61 #797C81 #989B9F #B8BABC

Accessibility & contrast

On white

4.19
#797C81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#797C81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C81
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C81#FFFFFF#000000##000000
##797C811.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7C81
Deuteranopia (green-blind)
#7A7B81
Tritanopia (blue-blind)
#777D7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797c81;
/* rgb */ color: rgb(121, 124, 129);
/* oklch */ color: oklch(58.5% 0.008 260.7);
Tailwind
colors: {
  custom: {
    50: '#9fa1a5',
    500: '#797c81',
    950: '#000000',
  },
}
SCSS
$custom: #797c81;
$custom-light: #9fa1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#797c81",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 129
  },
  "hsl": {
    "h": 217.5,
    "s": 3.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.00842,
    "h": 260.7
  },
  "luminance": 0.20065
}

Semantic roles & 50–950 ramp

primary
#797C81
secondary
#ADABA9
accent
#9A7BAC
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F

Preview Lab

Preview with #797C81

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

Preview Lab → · Contrast checker → · Palette generator →

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