#5A9782#5A9782

#5A9782 is a light, moderate teal. Relative luminance 0.259; OKLCH L 62.9% C 0.072 H 169.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5A9782
RGBrgb(90, 151, 130)
HSLhsl(159, 25%, 47%)
HSVhsv(159, 40%, 59%)
CMYKcmyk(40.4%, 0%, 13.9%, 40.8%)
CIE-LABlab(57.96, -24.85, 4.88)
CIE-LCHlch(57.96, 25.32, 168.88°)
OKLaboklab(62.86% -0.0705 0.0125)
OKLCHoklch(62.86% 0.072 169.9)
XYZxyz(19.3108, 25.9173, 25.0997)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9782 #975A6F
analogous
#5A9764 #5A9782 #5A8E97
triadic
#5A9782 #825A97 #97825A
tetradic
#5A9782 #645A97 #975A6F #8E975A
square
#5A9782 #645A97 #975A6F #8E975A
split-complementary
#5A9782 #975A8E #97645A
monochromatic
#2C4A40 #437161 #5A9782 #7DB19F #A3C8BB

Accessibility & contrast

On white

3.40
#5A9782 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5A9782 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9782
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9782#FFFFFF#000000##000000
##5A97821.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#949081
Deuteranopia (green-blind)
#8A8883
Tritanopia (blue-blind)
#489891
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5a9782;
/* rgb */ color: rgb(90, 151, 130);
/* oklch */ color: oklch(62.9% 0.072 169.9);
Tailwind
colors: {
  custom: {
    50: '#8bb6a6',
    500: '#5a9782',
    950: '#000000',
  },
}
SCSS
$custom: #5a9782;
$custom-light: #8bb6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9782",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 130
  },
  "hsl": {
    "h": 159.344,
    "s": 25.311,
    "l": 47.255
  },
  "oklch": {
    "l": 0.62856,
    "c": 0.07159,
    "h": 169.9
  },
  "luminance": 0.25919
}

Semantic roles & 50–950 ramp

primary
#5A9782
secondary
#B697A2
accent
#6686C2
background
#F8FBFA
surface
#F0F6F4
border
#CBD0CE
text
#0C110F
muted
#7D807F

Preview Lab

Preview with #5A9782

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

Preview Lab → · Contrast checker → · Palette generator →

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