#5C796F#5C796F

#5C796F is a mid, muted teal. Relative luminance 0.171; OKLCH L 55.0% C 0.037 H 171.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5C796F
RGBrgb(92, 121, 111)
HSLhsl(159, 14%, 42%)
HSVhsv(159, 24%, 47%)
CMYKcmyk(24%, 0%, 8.3%, 52.5%)
CIE-LABlab(48.38, -12.70, 2.07)
CIE-LCHlch(48.38, 12.87, 170.73°)
OKLaboklab(55.03% -0.0366 0.0053)
OKLCHoklch(55.03% 0.037 171.8)
XYZxyz(14.1194, 17.0972, 17.5920)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C796F #795C66
analogous
#5C7961 #5C796F #5C7579
triadic
#5C796F #6F5C79 #796F5C
tetradic
#5C796F #615C79 #795C66 #75795C
square
#5C796F #615C79 #795C66 #75795C
split-complementary
#5C796F #795C75 #79615C
monochromatic
#27332F #42564F #5C796F #79998E #9CB4AB

Accessibility & contrast

On white

4.75
#5C796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5C796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C796F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C796F#FFFFFF#000000##FFFFFF
##5C796F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77756F
Deuteranopia (green-blind)
#727170
Tritanopia (blue-blind)
#557A76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5c796f;
/* rgb */ color: rgb(92, 121, 111);
/* oklch */ color: oklch(55.0% 0.037 171.8);
Tailwind
colors: {
  custom: {
    50: '#8a9f98',
    500: '#5c796f',
    950: '#000000',
  },
}
SCSS
$custom: #5c796f;
$custom-light: #8a9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#5c796f",
  "rgb": {
    "r": 92,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 159.31,
    "s": 13.615,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55034,
    "c": 0.03695,
    "h": 171.8
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#5C796F
secondary
#A28F95
accent
#7189B6
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0E0D
muted
#7D7E7E

Preview Lab

Preview with #5C796F

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

Preview Lab → · Contrast checker → · Palette generator →

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