#31B982#31B982

#31B982 is a light, vivid teal. Relative luminance 0.370; OKLCH L 70.1% C 0.141 H 161.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#31B982
RGBrgb(49, 185, 130)
HSLhsl(156, 58%, 46%)
HSVhsv(156, 74%, 73%)
CMYKcmyk(73.5%, 0%, 29.7%, 27.5%)
CIE-LABlab(67.25, -48.87, 17.79)
CIE-LCHlch(67.25, 52.01, 159.99°)
OKLaboklab(70.07% -0.1333 0.0452)
OKLCHoklch(70.07% 0.141 161.3)
XYZxyz(22.6425, 36.9599, 27.0554)
Luminance0.3696 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B982 #B93168
analogous
#31B93E #31B982 #31ACB9
triadic
#31B982 #8231B9 #B98231
tetradic
#31B982 #3E31B9 #B93168 #ACB931
square
#31B982 #3E31B9 #B93168 #ACB931
split-complementary
#31B982 #B931AC #B93E31
monochromatic
#17583E #248960 #31B982 #55D2A0 #86DFBB

Accessibility & contrast

On white

2.50
#31B982 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#31B982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B982
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B982#FFFFFF#000000##000000
##31B9821.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AB7F
Deuteranopia (green-blind)
#A59F86
Tritanopia (blue-blind)
#00B8AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b982;
/* rgb */ color: rgb(49, 185, 130);
/* oklch */ color: oklch(70.1% 0.141 161.3);
Tailwind
colors: {
  custom: {
    50: '#7dcfa6',
    500: '#31b982',
    950: '#000000',
  },
}
SCSS
$custom: #31b982;
$custom-light: #7dcfa6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b982",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 130
  },
  "hsl": {
    "h": 155.735,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70067,
    "c": 0.14077,
    "h": 161.3
  },
  "luminance": 0.36963
}

Semantic roles & 50–950 ramp

primary
#31B982
secondary
#C87D9C
accent
#4685E1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B140F
muted
#7C827F

Preview Lab

Preview with #31B982

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

Preview Lab → · Contrast checker → · Palette generator →

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