#5B877A#5B877A

#5B877A is a mid, muted teal. Relative luminance 0.210; OKLCH L 58.7% C 0.052 H 174.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5B877A
RGBrgb(91, 135, 122)
HSLhsl(162, 19%, 44%)
HSVhsv(162, 33%, 53%)
CMYKcmyk(32.6%, 0%, 9.6%, 47.1%)
CIE-LABlab(52.90, -18.12, 2.18)
CIE-LCHlch(52.90, 18.25, 173.14°)
OKLaboklab(58.73% -0.0522 0.0055)
OKLCHoklch(58.73% 0.053 174)
XYZxyz(16.4900, 20.9564, 21.5847)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B877A #875B68
analogous
#5B8764 #5B877A #5B7E87
triadic
#5B877A #7A5B87 #877A5B
tetradic
#5B877A #645B87 #875B68 #7E875B
square
#5B877A #645B87 #875B68 #7E875B
split-complementary
#5B877A #875B7E #87645B
monochromatic
#2A3E38 #426259 #5B877A #7AA598 #9EBEB5

Accessibility & contrast

On white

4.05
#5B877A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5B877A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B877A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B877A#FFFFFF#000000##000000
##5B877A1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#848279
Deuteranopia (green-blind)
#7C7C7B
Tritanopia (blue-blind)
#4F8883
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b877a;
/* rgb */ color: rgb(91, 135, 122);
/* oklch */ color: oklch(58.7% 0.052 174.0);
Tailwind
colors: {
  custom: {
    50: '#8baaa0',
    500: '#5b877a',
    950: '#000000',
  },
}
SCSS
$custom: #5b877a;
$custom-light: #8baaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b877a",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 162.273,
    "s": 19.469,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58733,
    "c": 0.0525,
    "h": 174
  },
  "luminance": 0.20957
}

Semantic roles & 50–950 ramp

primary
#5B877A
secondary
#AC929A
accent
#6C83BC
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100E
muted
#7D7F7E

Preview Lab

Preview with #5B877A

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

Preview Lab → · Contrast checker → · Palette generator →

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