#797E81#797E81

#797E81 is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.0% C 0.008 H 233.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#797E81
RGBrgb(121, 126, 129)
HSLhsl(203, 3%, 49%)
HSVhsv(203, 6%, 51%)
CMYKcmyk(6.2%, 2.3%, 0%, 49.4%)
CIE-LABlab(52.48, -1.24, -2.27)
CIE-LCHlch(52.48, 2.59, 241.44°)
OKLaboklab(58.98% -0.0045 -0.0061)
OKLCHoklch(58.98% 0.008 233.7)
XYZxyz(19.3077, 20.5715, 23.7181)
Luminance0.2057 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E81 #817C79
analogous
#798180 #797E81 #797A81
triadic
#797E81 #81797E #7E8179
tetradic
#797E81 #807981 #817C79 #7A8179
square
#797E81 #807981 #817C79 #7A8179
split-complementary
#797E81 #81797A #818079
monochromatic
#3E4042 #5B5F61 #797E81 #989C9F #B8BBBC

Accessibility & contrast

On white

4.11
#797E81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#797E81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E81
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E81#FFFFFF#000000##000000
##797E811.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7E81
Deuteranopia (green-blind)
#7B7D81
Tritanopia (blue-blind)
#777F7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797e81;
/* rgb */ color: rgb(121, 126, 129);
/* oklch */ color: oklch(59.0% 0.008 233.7);
Tailwind
colors: {
  custom: {
    50: '#9fa3a5',
    500: '#797e81',
    950: '#000000',
  },
}
SCSS
$custom: #797e81;
$custom-light: #9fa3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#797e81",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 129
  },
  "hsl": {
    "h": 202.5,
    "s": 3.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58984,
    "c": 0.00755,
    "h": 233.7
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#797E81
secondary
#ADAAA9
accent
#8E7BAC
background
#F9FAFA
surface
#F2F3F4
border
#CCCDCE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #797E81

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

Preview Lab → · Contrast checker → · Palette generator →

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