#797E79#797E79

#797E79 is a mid, near-neutral grey. Relative luminance 0.204; OKLCH L 58.7% C 0.010 H 145.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#797E79
RGBrgb(121, 126, 121)
HSLhsl(120, 2%, 48%)
HSVhsv(120, 4%, 49%)
CMYKcmyk(4%, 0%, 4%, 50.6%)
CIE-LABlab(52.25, -2.87, 2.07)
CIE-LCHlch(52.25, 3.54, 144.23°)
OKLaboklab(58.73% -0.0079 0.0054)
OKLCHoklch(58.73% 0.01 145.4)
XYZxyz(18.7966, 20.3671, 21.0264)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E79 #7E797E
analogous
#7B7E79 #797E79 #797E7B
triadic
#797E79 #79797E #7E7979
tetradic
#797E79 #797B7E #7E797E #7E7B79
square
#797E79 #797B7E #7E797E #7E7B79
split-complementary
#797E79 #7B797E #7E797B
monochromatic
#3D403D #5B5F5B #797E79 #989C98 #B7BAB7

Accessibility & contrast

On white

4.14
#797E79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#797E79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E79
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E79#FFFFFF#000000##000000
##797E791.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7D79
Deuteranopia (green-blind)
#7D7C79
Tritanopia (blue-blind)
#797E7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797e79;
/* rgb */ color: rgb(121, 126, 121);
/* oklch */ color: oklch(58.7% 0.010 145.4);
Tailwind
colors: {
  custom: {
    50: '#9fa39f',
    500: '#797e79',
    950: '#000000',
  },
}
SCSS
$custom: #797e79;
$custom-light: #9fa39f;
$custom-dark: #000000;
JSON
{
  "hex": "#797e79",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 121
  },
  "hsl": {
    "h": 120,
    "s": 2.024,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.00957,
    "h": 145.4
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#797E79
secondary
#ABA8AB
accent
#7DABAB
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797E79

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

Preview Lab → · Contrast checker → · Palette generator →

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