#5F796D#5F796D

#5F796D is a mid, muted teal. Relative luminance 0.172; OKLCH L 55.2% C 0.036 H 165.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5F796D
RGBrgb(95, 121, 109)
HSLhsl(152, 12%, 42%)
HSVhsv(152, 21%, 47%)
CMYKcmyk(21.5%, 0%, 9.9%, 52.5%)
CIE-LABlab(48.53, -12.09, 3.49)
CIE-LCHlch(48.53, 12.59, 163.92°)
OKLaboklab(55.18% -0.0343 0.009)
OKLCHoklch(55.18% 0.036 165.3)
XYZxyz(14.3162, 17.2113, 17.0329)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F796D #795F6B
analogous
#5F7960 #5F796D #5F7879
triadic
#5F796D #6D5F79 #796D5F
tetradic
#5F796D #605F79 #795F6B #78795F
square
#5F796D #605F79 #795F6B #78795F
split-complementary
#5F796D #795F78 #79605F
monochromatic
#29342F #44574E #5F796D #7D998C #9FB4AA

Accessibility & contrast

On white

4.73
#5F796D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5F796D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F796D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F796D#FFFFFF#000000##FFFFFF
##5F796D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78756C
Deuteranopia (green-blind)
#73726E
Tritanopia (blue-blind)
#5A7975
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f796d;
/* rgb */ color: rgb(95, 121, 109);
/* oklch */ color: oklch(55.2% 0.036 165.3);
Tailwind
colors: {
  custom: {
    50: '#8d9f96',
    500: '#5f796d',
    950: '#000000',
  },
}
SCSS
$custom: #5f796d;
$custom-light: #8d9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#5f796d",
  "rgb": {
    "r": 95,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 152.308,
    "s": 12.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.03551,
    "h": 165.3
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#5F796D
secondary
#A29199
accent
#7391B5
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0E0D
muted
#7D7E7E

Preview Lab

Preview with #5F796D

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

Preview Lab → · Contrast checker → · Palette generator →

#5F796D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva