#797F74#797F74

#797F74 is a mid, near-neutral grey. Relative luminance 0.205; OKLCH L 58.8% C 0.018 H 130.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#797F74
RGBrgb(121, 127, 116)
HSLhsl(93, 5%, 48%)
HSVhsv(93, 9%, 50%)
CMYKcmyk(4.7%, 0%, 8.7%, 50.2%)
CIE-LABlab(52.40, -4.42, 5.21)
CIE-LCHlch(52.40, 6.83, 130.28°)
OKLaboklab(58.81% -0.0116 0.0136)
OKLCHoklch(58.81% 0.018 130.6)
XYZxyz(18.6264, 20.5046, 19.4961)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F74 #7A747F
analogous
#7F7F74 #797F74 #747F74
triadic
#797F74 #74797F #7F7479
tetradic
#797F74 #747F7F #7A747F #7F7474
square
#797F74 #747F7F #7A747F #7F7474
split-complementary
#797F74 #74747F #7F747F
monochromatic
#3C3F3A #5B5F57 #797F74 #989D93 #B6BAB3

Accessibility & contrast

On white

4.12
#797F74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#797F74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F74
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F74#FFFFFF#000000##000000
##797F741.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#807D73
Deuteranopia (green-blind)
#7F7D74
Tritanopia (blue-blind)
#797E7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #797f74;
/* rgb */ color: rgb(121, 127, 116);
/* oklch */ color: oklch(58.8% 0.018 130.6);
Tailwind
colors: {
  custom: {
    50: '#9fa49c',
    500: '#797f74',
    950: '#000000',
  },
}
SCSS
$custom: #797f74;
$custom-light: #9fa49c;
$custom-dark: #000000;
JSON
{
  "hex": "#797f74",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 116
  },
  "hsl": {
    "h": 92.727,
    "s": 4.527,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.0179,
    "h": 130.6
  },
  "luminance": 0.20505
}

Semantic roles & 50–950 ramp

primary
#797F74
secondary
#A8A5AA
accent
#7AAE96
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797F74

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

Preview Lab → · Contrast checker → · Palette generator →

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