#5A978B#5A978B

#5A978B is a light, moderate teal. Relative luminance 0.262; OKLCH L 63.1% C 0.066 H 180.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5A978B
RGBrgb(90, 151, 139)
HSLhsl(168, 25%, 47%)
HSVhsv(168, 40%, 59%)
CMYKcmyk(40.4%, 0%, 7.9%, 40.8%)
CIE-LABlab(58.20, -22.71, 0.11)
CIE-LCHlch(58.20, 22.71, 179.72°)
OKLaboklab(63.13% -0.0664 -0.0001)
OKLCHoklch(63.13% 0.066 180.1)
XYZxyz(19.9415, 26.1696, 28.4215)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A978B #975A66
analogous
#5A976D #5A978B #5A8497
triadic
#5A978B #8B5A97 #978B5A
tetradic
#5A978B #6D5A97 #975A66 #84975A
square
#5A978B #6D5A97 #975A66 #84975A
split-complementary
#5A978B #975A84 #976D5A
monochromatic
#2C4A44 #437168 #5A978B #7DB1A7 #A3C8C1

Accessibility & contrast

On white

3.37
#5A978B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#5A978B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A978B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A978B#FFFFFF#000000##000000
##5A978B1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92908B
Deuteranopia (green-blind)
#88898C
Tritanopia (blue-blind)
#449993
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5a978b;
/* rgb */ color: rgb(90, 151, 139);
/* oklch */ color: oklch(63.1% 0.066 180.1);
Tailwind
colors: {
  custom: {
    50: '#8cb6ac',
    500: '#5a978b',
    950: '#000000',
  },
}
SCSS
$custom: #5a978b;
$custom-light: #8cb6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5a978b",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 139
  },
  "hsl": {
    "h": 168.197,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.63128,
    "c": 0.06636,
    "h": 180.1
  },
  "luminance": 0.26171
}

Semantic roles & 50–950 ramp

primary
#5A978B
secondary
#B6979D
accent
#6678C2
background
#F8FBFA
surface
#F0F6F4
border
#CBD0CE
text
#0C1110
muted
#7D807F

Preview Lab

Preview with #5A978B

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

Preview Lab → · Contrast checker → · Palette generator →

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