#797B79#797B79

#797B79 is a mid, near-neutral grey. Relative luminance 0.196; OKLCH L 58.1% C 0.004 H 145.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#797B79
RGBrgb(121, 123, 121)
HSLhsl(120, 1%, 48%)
HSVhsv(120, 2%, 48%)
CMYKcmyk(1.6%, 0%, 1.6%, 51.8%)
CIE-LABlab(51.39, -1.15, 0.83)
CIE-LCHlch(51.39, 1.42, 144.36°)
OKLaboklab(58.06% -0.0032 0.0022)
OKLCHoklch(58.06% 0.004 145.6)
XYZxyz(18.4187, 19.6113, 20.9005)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B79 #7B797B
analogous
#7A7B79 #797B79 #797B7A
triadic
#797B79 #79797B #7B7979
tetradic
#797B79 #797A7B #7B797B #7B7A79
square
#797B79 #797A7B #7B797B #7B7A79
split-complementary
#797B79 #7A797B #7B797A
monochromatic
#3C3D3C #5B5C5B #797B79 #989998 #B7B8B7

Accessibility & contrast

On white

4.27
#797B79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#797B79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B79
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B79#FFFFFF#000000##000000
##797B791.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B79
Deuteranopia (green-blind)
#7B7A79
Tritanopia (blue-blind)
#797B7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797b79;
/* rgb */ color: rgb(121, 123, 121);
/* oklch */ color: oklch(58.1% 0.004 145.6);
Tailwind
colors: {
  custom: {
    50: '#9fa19f',
    500: '#797b79',
    950: '#000000',
  },
}
SCSS
$custom: #797b79;
$custom-light: #9fa19f;
$custom-dark: #000000;
JSON
{
  "hex": "#797b79",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 121
  },
  "hsl": {
    "h": 120,
    "s": 0.82,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.00384,
    "h": 145.6
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#797B79
secondary
#A8A7A8
accent
#7EAAAA
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797B79

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

Preview Lab → · Contrast checker → · Palette generator →

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