#797E77#797E77

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

Color values

HEX#797E77
RGBrgb(121, 126, 119)
HSLhsl(103, 3%, 48%)
HSVhsv(103, 6%, 49%)
CMYKcmyk(4%, 0%, 5.6%, 50.6%)
CIE-LABlab(52.20, -3.27, 3.16)
CIE-LCHlch(52.20, 4.55, 135.96°)
OKLaboklab(58.67% -0.0088 0.0083)
OKLCHoklch(58.67% 0.012 136.6)
XYZxyz(18.6752, 20.3185, 20.3872)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E77 #7C777E
analogous
#7C7E77 #797E77 #777E78
triadic
#797E77 #77797E #7E7779
tetradic
#797E77 #777C7E #7C777E #7E7877
square
#797E77 #777C7E #7C777E #7E7877
split-complementary
#797E77 #78777E #7E777C
monochromatic
#3D3F3C #5B5F59 #797E77 #989C96 #B7BAB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797E77#FFFFFF#000000##000000
##797E771.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)
#7F7D77
Deuteranopia (green-blind)
#7E7C77
Tritanopia (blue-blind)
#797D7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e77;
/* rgb */ color: rgb(121, 126, 119);
/* oklch */ color: oklch(58.7% 0.012 136.6);
Tailwind
colors: {
  custom: {
    50: '#9fa39e',
    500: '#797e77',
    950: '#000000',
  },
}
SCSS
$custom: #797e77;
$custom-light: #9fa39e;
$custom-dark: #000000;
JSON
{
  "hex": "#797e77",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 119
  },
  "hsl": {
    "h": 102.857,
    "s": 2.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58669,
    "c": 0.01205,
    "h": 136.6
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#797E77
secondary
#A9A7AA
accent
#7CAC9E
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797E77

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

Preview Lab → · Contrast checker → · Palette generator →

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