#5B987A#5B987A

#5B987A is a light, moderate teal. Relative luminance 0.261; OKLCH L 62.9% C 0.079 H 161.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5B987A
RGBrgb(91, 152, 122)
HSLhsl(150, 25%, 48%)
HSVhsv(150, 40%, 60%)
CMYKcmyk(40.1%, 0%, 19.7%, 40.4%)
CIE-LABlab(58.12, -26.84, 9.65)
CIE-LCHlch(58.12, 28.52, 160.22°)
OKLaboklab(62.93% -0.0747 0.0248)
OKLCHoklch(62.93% 0.079 161.6)
XYZxyz(19.0541, 26.0845, 22.4394)
Luminance0.2609 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B987A #985B79
analogous
#5B985B #5B987A #5B9798
triadic
#5B987A #7A5B98 #987A5B
tetradic
#5B987A #5B5B98 #985B79 #97985B
square
#5B987A #5B5B98 #985B79 #97985B
split-complementary
#5B987A #985B97 #985B5B
monochromatic
#2D4B3D #44725B #5B987A #7EB299 #A5C9B7

Accessibility & contrast

On white

3.38
#5B987A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#5B987A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B987A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B987A#FFFFFF#000000##000000
##5B987A1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#969078
Deuteranopia (green-blind)
#8C897C
Tritanopia (blue-blind)
#4C988F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b987a;
/* rgb */ color: rgb(91, 152, 122);
/* oklch */ color: oklch(62.9% 0.079 161.6);
Tailwind
colors: {
  custom: {
    50: '#8cb6a0',
    500: '#5b987a',
    950: '#000000',
  },
}
SCSS
$custom: #5b987a;
$custom-light: #8cb6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b987a",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 150.492,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62933,
    "c": 0.07869,
    "h": 161.6
  },
  "luminance": 0.26086
}

Semantic roles & 50–950 ramp

primary
#5B987A
secondary
#B798A7
accent
#6693C2
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0C110E
muted
#7D807E

Preview Lab

Preview with #5B987A

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

Preview Lab → · Contrast checker → · Palette generator →

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