#797F79#797F79

#797F79 is a mid, near-neutral grey. Relative luminance 0.206; OKLCH L 59.0% C 0.011 H 145.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#797F79
RGBrgb(121, 127, 121)
HSLhsl(120, 2%, 49%)
HSVhsv(120, 5%, 50%)
CMYKcmyk(4.7%, 0%, 4.7%, 50.2%)
CIE-LABlab(52.54, -3.44, 2.48)
CIE-LCHlch(52.54, 4.25, 144.19°)
OKLaboklab(58.96% -0.0094 0.0065)
OKLCHoklch(58.96% 0.011 145.4)
XYZxyz(18.9251, 20.6241, 21.0693)
Luminance0.2062 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F79 #7F797F
analogous
#7C7F79 #797F79 #797F7C
triadic
#797F79 #79797F #7F7979
tetradic
#797F79 #797C7F #7F797F #7F7C79
square
#797F79 #797C7F #7F797F #7F7C79
split-complementary
#797F79 #7C797F #7F797C
monochromatic
#3D403D #5B605B #797F79 #989D98 #B8BBB8

Accessibility & contrast

On white

4.10
#797F79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#797F79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F79
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F79#FFFFFF#000000##000000
##797F791.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797f79;
/* rgb */ color: rgb(121, 127, 121);
/* oklch */ color: oklch(59.0% 0.011 145.4);
Tailwind
colors: {
  custom: {
    50: '#9fa49f',
    500: '#797f79',
    950: '#000000',
  },
}
SCSS
$custom: #797f79;
$custom-light: #9fa49f;
$custom-dark: #000000;
JSON
{
  "hex": "#797f79",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 121
  },
  "hsl": {
    "h": 120,
    "s": 2.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.01148,
    "h": 145.4
  },
  "luminance": 0.20624
}

Semantic roles & 50–950 ramp

primary
#797F79
secondary
#ABA8AB
accent
#7CACAC
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797F79

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

Preview Lab → · Contrast checker → · Palette generator →

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