#797B74#797B74

#797B74 is a mid, near-neutral grey. Relative luminance 0.195; OKLCH L 57.9% C 0.011 H 119.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#797B74
RGBrgb(121, 123, 116)
HSLhsl(77, 3%, 47%)
HSVhsv(77, 6%, 48%)
CMYKcmyk(1.6%, 0%, 5.7%, 51.8%)
CIE-LABlab(51.26, -2.14, 3.56)
CIE-LCHlch(51.26, 4.15, 120.95°)
OKLaboklab(57.9% -0.0053 0.0093)
OKLCHoklch(57.9% 0.011 119.8)
XYZxyz(18.1200, 19.4918, 19.3273)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797B74 #76747B
analogous
#7B7A74 #797B74 #767B74
triadic
#797B74 #74797B #7B7479
tetradic
#797B74 #747B7A #76747B #7B7476
square
#797B74 #747B7A #76747B #7B7476
split-complementary
#797B74 #74767B #7A747B
monochromatic
#3B3C39 #5A5C56 #797B74 #979993 #B6B7B3

Accessibility & contrast

On white

4.29
#797B74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#797B74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797B74
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797B74#FFFFFF#000000##000000
##797B741.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7A74
Deuteranopia (green-blind)
#7C7A74
Tritanopia (blue-blind)
#7A7A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797b74;
/* rgb */ color: rgb(121, 123, 116);
/* oklch */ color: oklch(57.9% 0.011 119.8);
Tailwind
colors: {
  custom: {
    50: '#9fa19c',
    500: '#797b74',
    950: '#000000',
  },
}
SCSS
$custom: #797b74;
$custom-light: #9fa19c;
$custom-dark: #000000;
JSON
{
  "hex": "#797b74",
  "rgb": {
    "r": 121,
    "g": 123,
    "b": 116
  },
  "hsl": {
    "h": 77.143,
    "s": 2.929,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.01076,
    "h": 119.8
  },
  "luminance": 0.19492
}

Semantic roles & 50–950 ramp

primary
#797B74
secondary
#A5A4A7
accent
#7CAC8A
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797B74

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

Preview Lab → · Contrast checker → · Palette generator →

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