#31A581#31A581

#31A581 is a light, moderate teal. Relative luminance 0.291; OKLCH L 64.9% C 0.116 H 167.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#31A581
RGBrgb(49, 165, 129)
HSLhsl(161, 54%, 42%)
HSVhsv(161, 70%, 65%)
CMYKcmyk(70.3%, 0%, 21.8%, 35.3%)
CIE-LABlab(60.91, -40.80, 9.48)
CIE-LCHlch(60.91, 41.88, 166.92°)
OKLaboklab(64.86% -0.1133 0.0242)
OKLCHoklch(64.86% 0.116 167.9)
XYZxyz(18.6821, 29.1461, 25.4058)
Luminance0.2915 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A581 #A53155
analogous
#31A547 #31A581 #318FA5
triadic
#31A581 #8131A5 #A58131
tetradic
#31A581 #4731A5 #A53155 #8FA531
square
#31A581 #4731A5 #A53155 #8FA531
split-complementary
#31A581 #A5318F #A54731
monochromatic
#154737 #23765C #31A581 #4AC9A2 #79D7BA

Accessibility & contrast

On white

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

On black

6.83
#31A581 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A581
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A581#FFFFFF#000000##000000
##31A5811.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a581;
/* rgb */ color: rgb(49, 165, 129);
/* oklch */ color: oklch(64.9% 0.116 167.9);
Tailwind
colors: {
  custom: {
    50: '#79c0a5',
    500: '#31a581',
    950: '#000000',
  },
}
SCSS
$custom: #31a581;
$custom-light: #79c0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#31a581",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 129
  },
  "hsl": {
    "h": 161.379,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64859,
    "c": 0.11591,
    "h": 167.9
  },
  "luminance": 0.29148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A581

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

Preview Lab → · Contrast checker → · Palette generator →

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