#31B987#31B987

#31B987 is a light, vivid teal. Relative luminance 0.371; OKLCH L 70.2% C 0.137 H 163.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#31B987
RGBrgb(49, 185, 135)
HSLhsl(158, 58%, 46%)
HSVhsv(158, 74%, 73%)
CMYKcmyk(73.5%, 0%, 27%, 27.5%)
CIE-LABlab(67.35, -47.75, 15.23)
CIE-LCHlch(67.35, 50.12, 162.31°)
OKLaboklab(70.19% -0.1309 0.0388)
OKLCHoklch(70.19% 0.137 163.5)
XYZxyz(22.9863, 37.0975, 28.8661)
Luminance0.3710 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B987 #B93163
analogous
#31B943 #31B987 #31A7B9
triadic
#31B987 #8731B9 #B98731
tetradic
#31B987 #4331B9 #B93163 #A7B931
square
#31B987 #4331B9 #B93163 #A7B931
split-complementary
#31B987 #B931A7 #B94331
monochromatic
#175840 #248964 #31B987 #55D2A4 #86DFBE

Accessibility & contrast

On white

2.49
#31B987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#31B987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B987
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B987#FFFFFF#000000##000000
##31B9871.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6AB84
Deuteranopia (green-blind)
#A49F8A
Tritanopia (blue-blind)
#00B9AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b987;
/* rgb */ color: rgb(49, 185, 135);
/* oklch */ color: oklch(70.2% 0.137 163.5);
Tailwind
colors: {
  custom: {
    50: '#7dcfaa',
    500: '#31b987',
    950: '#000000',
  },
}
SCSS
$custom: #31b987;
$custom-light: #7dcfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31b987",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 135
  },
  "hsl": {
    "h": 157.941,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70186,
    "c": 0.13657,
    "h": 163.5
  },
  "luminance": 0.371
}

Semantic roles & 50–950 ramp

primary
#31B987
secondary
#C87D99
accent
#467FE1
background
#F8FCFA
surface
#EFF9F4
border
#CAD2CE
text
#0B1410
muted
#7C827F

Preview Lab

Preview with #31B987

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

Preview Lab → · Contrast checker → · Palette generator →

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