#5B877B#5B877B

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

Color values

HEX#5B877B
RGBrgb(91, 135, 123)
HSLhsl(164, 19%, 44%)
HSVhsv(164, 33%, 53%)
CMYKcmyk(32.6%, 0%, 8.9%, 47.1%)
CIE-LABlab(52.93, -17.89, 1.64)
CIE-LCHlch(52.93, 17.96, 174.76°)
OKLaboklab(58.76% -0.0517 0.0041)
OKLCHoklch(58.76% 0.052 175.5)
XYZxyz(16.5523, 20.9813, 21.9127)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B877B #875B67
analogous
#5B8765 #5B877B #5B7D87
triadic
#5B877B #7B5B87 #877B5B
tetradic
#5B877B #655B87 #875B67 #7D875B
square
#5B877B #655B87 #875B67 #7D875B
split-complementary
#5B877B #875B7D #87655B
monochromatic
#2A3E38 #42625A #5B877B #7AA599 #9EBEB5

Accessibility & contrast

On white

4.04
#5B877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5B877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B877B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B877B#FFFFFF#000000##000000
##5B877B1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84827A
Deuteranopia (green-blind)
#7C7C7C
Tritanopia (blue-blind)
#4F8883
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b877b;
/* rgb */ color: rgb(91, 135, 123);
/* oklch */ color: oklch(58.8% 0.052 175.5);
Tailwind
colors: {
  custom: {
    50: '#8baaa1',
    500: '#5b877b',
    950: '#000000',
  },
}
SCSS
$custom: #5b877b;
$custom-light: #8baaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b877b",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 163.636,
    "s": 19.469,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58764,
    "c": 0.05191,
    "h": 175.5
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#5B877B
secondary
#AC9299
accent
#6C82BC
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100E
muted
#7D7F7E

Preview Lab

Preview with #5B877B

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

Preview Lab → · Contrast checker → · Palette generator →

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