#5B997D#5B997D

#5B997D is a light, moderate teal. Relative luminance 0.265; OKLCH L 63.3% C 0.078 H 163.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5B997D
RGBrgb(91, 153, 125)
HSLhsl(153, 25%, 48%)
HSVhsv(153, 41%, 60%)
CMYKcmyk(40.5%, 0%, 18.3%, 40%)
CIE-LABlab(58.50, -26.68, 8.49)
CIE-LCHlch(58.50, 28.00, 162.34°)
OKLaboklab(63.26% -0.0745 0.0219)
OKLCHoklch(63.26% 0.078 163.7)
XYZxyz(19.4058, 26.4860, 23.4878)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B997D #995B77
analogous
#5B995E #5B997D #5B9699
triadic
#5B997D #7D5B99 #997D5B
tetradic
#5B997D #5E5B99 #995B77 #96995B
square
#5B997D #5E5B99 #995B77 #96995B
split-complementary
#5B997D #995B96 #995E5B
monochromatic
#2D4C3E #44735E #5B997D #7FB39B #A5C9B9

Accessibility & contrast

On white

3.33
#5B997D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5B997D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B997D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B997D#FFFFFF#000000##000000
##5B997D1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97917C
Deuteranopia (green-blind)
#8D8A7F
Tritanopia (blue-blind)
#4B9991
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b997d;
/* rgb */ color: rgb(91, 153, 125);
/* oklch */ color: oklch(63.3% 0.078 163.7);
Tailwind
colors: {
  custom: {
    50: '#8cb7a2',
    500: '#5b997d',
    950: '#000000',
  },
}
SCSS
$custom: #5b997d;
$custom-light: #8cb7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b997d",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 152.903,
    "s": 25.41,
    "l": 47.843
  },
  "oklch": {
    "l": 0.63262,
    "c": 0.07768,
    "h": 163.7
  },
  "luminance": 0.26487
}

Semantic roles & 50–950 ramp

primary
#5B997D
secondary
#B798A6
accent
#668FC2
background
#F8FBFA
surface
#F0F6F3
border
#CBD0CD
text
#0C110F
muted
#7D807F

Preview Lab

Preview with #5B997D

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

Preview Lab → · Contrast checker → · Palette generator →

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