#5B7971#5B7971

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

Color values

HEX#5B7971
RGBrgb(91, 121, 113)
HSLhsl(164, 14%, 42%)
HSVhsv(164, 25%, 47%)
CMYKcmyk(24.8%, 0%, 6.6%, 52.5%)
CIE-LABlab(48.37, -12.59, 0.87)
CIE-LCHlch(48.37, 12.62, 176.04°)
OKLaboklab(55.03% -0.0367 0.0021)
OKLCHoklch(55.03% 0.037 176.7)
XYZxyz(14.1315, 17.0906, 18.1738)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7971 #795B63
analogous
#5B7962 #5B7971 #5B7279
triadic
#5B7971 #715B79 #79715B
tetradic
#5B7971 #625B79 #795B63 #72795B
square
#5B7971 #625B79 #795B63 #72795B
split-complementary
#5B7971 #795B72 #79625B
monochromatic
#263330 #415650 #5B7971 #789990 #9BB4AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7971#FFFFFF#000000##FFFFFF
##5B79711.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)
#777571
Deuteranopia (green-blind)
#717172
Tritanopia (blue-blind)
#537A77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b7971;
/* rgb */ color: rgb(91, 121, 113);
/* oklch */ color: oklch(55.0% 0.037 176.7);
Tailwind
colors: {
  custom: {
    50: '#8a9f99',
    500: '#5b7971',
    950: '#000000',
  },
}
SCSS
$custom: #5b7971;
$custom-light: #8a9f99;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7971",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 164,
    "s": 14.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55029,
    "c": 0.03674,
    "h": 176.7
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#5B7971
secondary
#A28E93
accent
#7184B7
background
#F8F9F9
surface
#F0F2F2
border
#CBCCCC
text
#0C0E0E
muted
#7D7E7E

Preview Lab

Preview with #5B7971

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

Preview Lab → · Contrast checker → · Palette generator →

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