#5A997D#5A997D

#5A997D is a light, moderate teal. Relative luminance 0.264; OKLCH L 63.2% C 0.078 H 164.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5A997D
RGBrgb(90, 153, 125)
HSLhsl(153, 26%, 48%)
HSVhsv(153, 41%, 60%)
CMYKcmyk(41.2%, 0%, 18.3%, 40%)
CIE-LABlab(58.45, -26.97, 8.42)
CIE-LCHlch(58.45, 28.26, 162.66°)
OKLaboklab(63.21% -0.0754 0.0217)
OKLCHoklch(63.21% 0.078 164)
XYZxyz(19.3079, 26.4355, 23.4832)
Luminance0.2644 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A997D #995A76
analogous
#5A995D #5A997D #5A9699
triadic
#5A997D #7D5A99 #997D5A
tetradic
#5A997D #5D5A99 #995A76 #96995A
square
#5A997D #5D5A99 #995A76 #96995A
split-complementary
#5A997D #995A96 #995D5A
monochromatic
#2D4C3E #43725E #5A997D #7DB39B #A4C9B9

Accessibility & contrast

On white

3.34
#5A997D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5A997D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A997D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A997D#FFFFFF#000000##000000
##5A997D1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a997d;
/* rgb */ color: rgb(90, 153, 125);
/* oklch */ color: oklch(63.2% 0.078 164.0);
Tailwind
colors: {
  custom: {
    50: '#8cb7a2',
    500: '#5a997d',
    950: '#000000',
  },
}
SCSS
$custom: #5a997d;
$custom-light: #8cb7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a997d",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 153.333,
    "s": 25.926,
    "l": 47.647
  },
  "oklch": {
    "l": 0.63211,
    "c": 0.07843,
    "h": 164
  },
  "luminance": 0.26437
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A997D

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

Preview Lab → · Contrast checker → · Palette generator →

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