#31B582#31B582

#31B582 is a light, vivid teal. Relative luminance 0.353; OKLCH L 69.0% C 0.136 H 162.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#31B582
RGBrgb(49, 181, 130)
HSLhsl(157, 57%, 45%)
HSVhsv(157, 73%, 71%)
CMYKcmyk(72.9%, 0%, 28.2%, 29%)
CIE-LABlab(65.99, -47.26, 16.05)
CIE-LCHlch(65.99, 49.91, 161.24°)
OKLaboklab(69.03% -0.1293 0.0409)
OKLCHoklch(69.03% 0.136 162.5)
XYZxyz(21.8174, 35.3099, 26.7804)
Luminance0.3531 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B582 #B53164
analogous
#31B540 #31B582 #31A6B5
triadic
#31B582 #8231B5 #B58231
tetradic
#31B582 #4031B5 #B53164 #A6B531
square
#31B582 #4031B5 #B53164 #A6B531
split-complementary
#31B582 #B531A6 #B54031
monochromatic
#17553D #24855F #31B582 #53D0A0 #83DDBA

Accessibility & contrast

On white

2.60
#31B582 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#31B582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B582
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B582#FFFFFF#000000##000000
##31B5821.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A77F
Deuteranopia (green-blind)
#A19B85
Tritanopia (blue-blind)
#00B5A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b582;
/* rgb */ color: rgb(49, 181, 130);
/* oklch */ color: oklch(69.0% 0.136 162.5);
Tailwind
colors: {
  custom: {
    50: '#7ccca6',
    500: '#31b582',
    950: '#000000',
  },
}
SCSS
$custom: #31b582;
$custom-light: #7ccca6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b582",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 130
  },
  "hsl": {
    "h": 156.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69033,
    "c": 0.13561,
    "h": 162.5
  },
  "luminance": 0.35312
}

Semantic roles & 50–950 ramp

primary
#31B582
secondary
#C77B98
accent
#4782E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B130F
muted
#7C827F

Preview Lab

Preview with #31B582

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

Preview Lab → · Contrast checker → · Palette generator →

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