#797D74#797D74

#797D74 is a mid, near-neutral grey. Relative luminance 0.200; OKLCH L 58.4% C 0.014 H 126.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#797D74
RGBrgb(121, 125, 116)
HSLhsl(87, 4%, 47%)
HSVhsv(87, 7%, 49%)
CMYKcmyk(3.2%, 0%, 7.2%, 51%)
CIE-LABlab(51.83, -3.28, 4.39)
CIE-LCHlch(51.83, 5.48, 126.78°)
OKLaboklab(58.35% -0.0085 0.0115)
OKLCHoklch(58.35% 0.014 126.5)
XYZxyz(18.3707, 19.9931, 19.4109)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797D74 #78747D
analogous
#7D7C74 #797D74 #757D74
triadic
#797D74 #74797D #7D7479
tetradic
#797D74 #747D7C #78747D #7D7475
square
#797D74 #747D7C #78747D #7D7475
split-complementary
#797D74 #74757D #7C747D
monochromatic
#3C3E39 #5A5D57 #797D74 #989B93 #B6B8B3

Accessibility & contrast

On white

4.20
#797D74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#797D74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797D74
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797D74#FFFFFF#000000##000000
##797D741.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7C74
Deuteranopia (green-blind)
#7E7B74
Tritanopia (blue-blind)
#7A7C7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797d74;
/* rgb */ color: rgb(121, 125, 116);
/* oklch */ color: oklch(58.4% 0.014 126.5);
Tailwind
colors: {
  custom: {
    50: '#9fa29c',
    500: '#797d74',
    950: '#000000',
  },
}
SCSS
$custom: #797d74;
$custom-light: #9fa29c;
$custom-dark: #000000;
JSON
{
  "hex": "#797d74",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 116
  },
  "hsl": {
    "h": 86.667,
    "s": 3.734,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.01428,
    "h": 126.5
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#797D74
secondary
#A6A4A9
accent
#7BAD91
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0F0E
muted
#7E7E7E

Preview Lab

Preview with #797D74

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

Preview Lab → · Contrast checker → · Palette generator →

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