#31A582#31A582

#31A582 is a light, moderate teal. Relative luminance 0.292; OKLCH L 64.9% C 0.115 H 168.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#31A582
RGBrgb(49, 165, 130)
HSLhsl(162, 54%, 42%)
HSVhsv(162, 70%, 65%)
CMYKcmyk(70.3%, 0%, 21.2%, 35.3%)
CIE-LABlab(60.93, -40.55, 8.95)
CIE-LCHlch(60.93, 41.53, 167.55°)
OKLaboklab(64.89% -0.1129 0.0229)
OKLCHoklch(64.89% 0.115 168.5)
XYZxyz(18.7489, 29.1728, 25.7576)
Luminance0.2918 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A582 #A53154
analogous
#31A548 #31A582 #318EA5
triadic
#31A582 #8231A5 #A58231
tetradic
#31A582 #4831A5 #A53154 #8EA531
square
#31A582 #4831A5 #A53154 #8EA531
split-complementary
#31A582 #A5318E #A54831
monochromatic
#154738 #23765D #31A582 #4AC9A3 #79D7BB

Accessibility & contrast

On white

3.07
#31A582 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#31A582 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A582
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A582#FFFFFF#000000##000000
##31A5821.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19A80
Deuteranopia (green-blind)
#918E84
Tritanopia (blue-blind)
#00A69B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a582;
/* rgb */ color: rgb(49, 165, 130);
/* oklch */ color: oklch(64.9% 0.115 168.5);
Tailwind
colors: {
  custom: {
    50: '#79c0a6',
    500: '#31a582',
    950: '#000000',
  },
}
SCSS
$custom: #31a582;
$custom-light: #79c0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#31a582",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 130
  },
  "hsl": {
    "h": 161.897,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.11516,
    "h": 168.5
  },
  "luminance": 0.29175
}

Semantic roles & 50–950 ramp

primary
#31A582
secondary
#C0728A
accent
#4A77DE
background
#F7FBFA
surface
#EEF7F4
border
#C9D0CE
text
#0A120F
muted
#7C817F

Preview Lab

Preview with #31A582

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

Preview Lab → · Contrast checker → · Palette generator →

#31A582 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva