#5A997F#5A997F

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

Color values

HEX#5A997F
RGBrgb(90, 153, 127)
HSLhsl(155, 26%, 48%)
HSVhsv(155, 41%, 60%)
CMYKcmyk(41.2%, 0%, 17%, 40%)
CIE-LABlab(58.50, -26.53, 7.36)
CIE-LCHlch(58.50, 27.53, 164.50°)
OKLaboklab(63.27% -0.0744 0.0189)
OKLCHoklch(63.27% 0.077 165.7)
XYZxyz(19.4369, 26.4871, 24.1629)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A997F #995A74
analogous
#5A995F #5A997F #5A9399
triadic
#5A997F #7F5A99 #997F5A
tetradic
#5A997F #5F5A99 #995A74 #93995A
square
#5A997F #5F5A99 #995A74 #93995A
split-complementary
#5A997F #995A93 #995F5A
monochromatic
#2D4C3F #43725F #5A997F #7DB39D #A4C9BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A997F#FFFFFF#000000##000000
##5A997F1.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)
#97917E
Deuteranopia (green-blind)
#8C8A81
Tritanopia (blue-blind)
#499991
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a997f;
/* rgb */ color: rgb(90, 153, 127);
/* oklch */ color: oklch(63.3% 0.077 165.7);
Tailwind
colors: {
  custom: {
    50: '#8cb7a4',
    500: '#5a997f',
    950: '#000000',
  },
}
SCSS
$custom: #5a997f;
$custom-light: #8cb7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a997f",
  "rgb": {
    "r": 90,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 155.238,
    "s": 25.926,
    "l": 47.647
  },
  "oklch": {
    "l": 0.63266,
    "c": 0.07681,
    "h": 165.7
  },
  "luminance": 0.26488
}

Semantic roles & 50–950 ramp

primary
#5A997F
secondary
#B798A5
accent
#658CC2
background
#F8FBFA
surface
#F0F6F4
border
#CBD0CE
text
#0C110F
muted
#7D807F

Preview Lab

Preview with #5A997F

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

Preview Lab → · Contrast checker → · Palette generator →

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