#797E76#797E76

#797E76 is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 58.6% C 0.013 H 133.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#797E76
RGBrgb(121, 126, 118)
HSLhsl(98, 3%, 48%)
HSVhsv(98, 6%, 49%)
CMYKcmyk(4%, 0%, 6.3%, 50.6%)
CIE-LABlab(52.17, -3.46, 3.71)
CIE-LCHlch(52.17, 5.07, 133.06°)
OKLaboklab(58.64% -0.0092 0.0097)
OKLCHoklch(58.64% 0.013 133.5)
XYZxyz(18.6155, 20.2946, 20.0726)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E76 #7B767E
analogous
#7D7E76 #797E76 #767E77
triadic
#797E76 #76797E #7E7679
tetradic
#797E76 #767D7E #7B767E #7E7776
square
#797E76 #767D7E #7B767E #7E7776
split-complementary
#797E76 #77767E #7E767D
monochromatic
#3C3F3B #5B5E58 #797E76 #989C95 #B7BAB5

Accessibility & contrast

On white

4.15
#797E76 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#797E76 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E76
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E76#FFFFFF#000000##000000
##797E761.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7D76
Deuteranopia (green-blind)
#7E7C76
Tritanopia (blue-blind)
#797D7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e76;
/* rgb */ color: rgb(121, 126, 118);
/* oklch */ color: oklch(58.6% 0.013 133.5);
Tailwind
colors: {
  custom: {
    50: '#9fa39d',
    500: '#797e76',
    950: '#000000',
  },
}
SCSS
$custom: #797e76;
$custom-light: #9fa39d;
$custom-dark: #000000;
JSON
{
  "hex": "#797e76",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 118
  },
  "hsl": {
    "h": 97.5,
    "s": 3.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58639,
    "c": 0.01336,
    "h": 133.5
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#797E76
secondary
#A8A6AA
accent
#7BAC9A
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797E76

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

Preview Lab → · Contrast checker → · Palette generator →

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