#31B981#31B981

#31B981 is a light, vivid teal. Relative luminance 0.369; OKLCH L 70.0% C 0.142 H 160.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#31B981
RGBrgb(49, 185, 129)
HSLhsl(155, 58%, 46%)
HSVhsv(155, 74%, 73%)
CMYKcmyk(73.5%, 0%, 30.3%, 27.5%)
CIE-LABlab(67.23, -49.09, 18.31)
CIE-LCHlch(67.23, 52.39, 159.55°)
OKLaboklab(70.04% -0.1338 0.0465)
OKLCHoklch(70.04% 0.142 160.9)
XYZxyz(22.5757, 36.9332, 26.7036)
Luminance0.3694 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B981 #B93169
analogous
#31B93D #31B981 #31ADB9
triadic
#31B981 #8131B9 #B98131
tetradic
#31B981 #3D31B9 #B93169 #ADB931
square
#31B981 #3D31B9 #B93169 #ADB931
split-complementary
#31B981 #B931AD #B93D31
monochromatic
#17583E #24895F #31B981 #55D29F #86DFBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B981#FFFFFF#000000##000000
##31B9811.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)
#B6AB7E
Deuteranopia (green-blind)
#A59F85
Tritanopia (blue-blind)
#00B8AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b981;
/* rgb */ color: rgb(49, 185, 129);
/* oklch */ color: oklch(70.0% 0.142 160.9);
Tailwind
colors: {
  custom: {
    50: '#7dcfa5',
    500: '#31b981',
    950: '#000000',
  },
}
SCSS
$custom: #31b981;
$custom-light: #7dcfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#31b981",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 129
  },
  "hsl": {
    "h": 155.294,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.14164,
    "h": 160.9
  },
  "luminance": 0.36936
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B981

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

Preview Lab → · Contrast checker → · Palette generator →

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