#5B796F#5B796F

#5B796F is a mid, muted teal. Relative luminance 0.170; OKLCH L 55.0% C 0.038 H 172.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5B796F
RGBrgb(91, 121, 111)
HSLhsl(160, 14%, 42%)
HSVhsv(160, 25%, 47%)
CMYKcmyk(24.8%, 0%, 8.3%, 52.5%)
CIE-LABlab(48.32, -13.05, 1.97)
CIE-LCHlch(48.32, 13.20, 171.40°)
OKLaboklab(54.97% -0.0376 0.005)
OKLCHoklch(54.97% 0.038 172.4)
XYZxyz(14.0201, 17.0460, 17.5873)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B796F #795B65
analogous
#5B7960 #5B796F #5B7479
triadic
#5B796F #6F5B79 #796F5B
tetradic
#5B796F #605B79 #795B65 #74795B
square
#5B796F #605B79 #795B65 #74795B
split-complementary
#5B796F #795B74 #79605B
monochromatic
#26332F #41564F #5B796F #78998E #9BB4AB

Accessibility & contrast

On white

4.76
#5B796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5B796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B796F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B796F#FFFFFF#000000##FFFFFF
##5B796F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b796f;
/* rgb */ color: rgb(91, 121, 111);
/* oklch */ color: oklch(55.0% 0.038 172.4);
Tailwind
colors: {
  custom: {
    50: '#8a9f98',
    500: '#5b796f',
    950: '#000000',
  },
}
SCSS
$custom: #5b796f;
$custom-light: #8a9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#5b796f",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 160,
    "s": 14.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54966,
    "c": 0.03793,
    "h": 172.4
  },
  "luminance": 0.17047
}

Semantic roles & 50–950 ramp

primary
#5B796F
secondary
#A28E94
accent
#7188B7
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0E0D
muted
#7D7E7E

Preview Lab

Preview with #5B796F

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

Preview Lab → · Contrast checker → · Palette generator →

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