#797F76#797F76

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

Color values

HEX#797F76
RGBrgb(121, 127, 118)
HSLhsl(100, 4%, 48%)
HSVhsv(100, 7%, 50%)
CMYKcmyk(4.7%, 0%, 7.1%, 50.2%)
CIE-LABlab(52.46, -4.03, 4.12)
CIE-LCHlch(52.46, 5.76, 134.38°)
OKLaboklab(58.87% -0.0108 0.0108)
OKLCHoklch(58.87% 0.015 135)
XYZxyz(18.7440, 20.5516, 20.1154)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F76 #7C767F
analogous
#7D7F76 #797F76 #767F77
triadic
#797F76 #76797F #7F7679
tetradic
#797F76 #767D7F #7C767F #7F7776
square
#797F76 #767D7F #7C767F #7F7776
split-complementary
#797F76 #77767F #7F767D
monochromatic
#3D403B #5B5F59 #797F76 #989D95 #B7BAB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797F76#FFFFFF#000000##000000
##797F761.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)
#807D76
Deuteranopia (green-blind)
#7F7D76
Tritanopia (blue-blind)
#797E7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797f76;
/* rgb */ color: rgb(121, 127, 118);
/* oklch */ color: oklch(58.9% 0.015 135.0);
Tailwind
colors: {
  custom: {
    50: '#9fa49d',
    500: '#797f76',
    950: '#000000',
  },
}
SCSS
$custom: #797f76;
$custom-light: #9fa49d;
$custom-dark: #000000;
JSON
{
  "hex": "#797f76",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 118
  },
  "hsl": {
    "h": 100,
    "s": 3.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.01522,
    "h": 135
  },
  "luminance": 0.20552
}

Semantic roles & 50–950 ramp

primary
#797F76
secondary
#A9A6AB
accent
#7BAD9C
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797F76

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

Preview Lab → · Contrast checker → · Palette generator →

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