#5B877C#5B877C

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

Color values

HEX#5B877C
RGBrgb(91, 135, 124)
HSLhsl(165, 19%, 44%)
HSVhsv(165, 33%, 53%)
CMYKcmyk(32.6%, 0%, 8.1%, 47.1%)
CIE-LABlab(52.96, -17.66, 1.10)
CIE-LCHlch(52.96, 17.69, 176.44°)
OKLaboklab(58.79% -0.0513 0.0026)
OKLCHoklch(58.79% 0.051 177.1)
XYZxyz(16.6152, 21.0064, 22.2440)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B877C #875B66
analogous
#5B8766 #5B877C #5B7C87
triadic
#5B877C #7C5B87 #877C5B
tetradic
#5B877C #665B87 #875B66 #7C875B
square
#5B877C #665B87 #875B66 #7C875B
split-complementary
#5B877C #875B7C #87665B
monochromatic
#2A3E39 #42625A #5B877C #7AA59A #9EBEB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B877C#FFFFFF#000000##000000
##5B877C1.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)
#84827C
Deuteranopia (green-blind)
#7C7C7D
Tritanopia (blue-blind)
#4E8884
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5b877c;
/* rgb */ color: rgb(91, 135, 124);
/* oklch */ color: oklch(58.8% 0.051 177.1);
Tailwind
colors: {
  custom: {
    50: '#8baaa1',
    500: '#5b877c',
    950: '#000000',
  },
}
SCSS
$custom: #5b877c;
$custom-light: #8baaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b877c",
  "rgb": {
    "r": 91,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 165,
    "s": 19.469,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.05136,
    "h": 177.1
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#5B877C
secondary
#AC9298
accent
#6C80BC
background
#F8FAF9
surface
#F0F4F2
border
#CBCECC
text
#0C100F
muted
#7D7F7E

Preview Lab

Preview with #5B877C

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

Preview Lab → · Contrast checker → · Palette generator →

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