#31C587#31C587

#31C587 is a light, vivid teal. Relative luminance 0.423; OKLCH L 73.3% C 0.152 H 160.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#31C587
RGBrgb(49, 197, 135)
HSLhsl(155, 60%, 48%)
HSVhsv(155, 75%, 77%)
CMYKcmyk(75.1%, 0%, 31.5%, 22.7%)
CIE-LABlab(71.10, -52.51, 20.41)
CIE-LCHlch(71.10, 56.34, 158.76°)
OKLaboklab(73.27% -0.1428 0.0517)
OKLCHoklch(73.27% 0.152 160.1)
XYZxyz(25.6034, 42.3317, 29.7384)
Luminance0.4234 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C587 #C5316F
analogous
#31C53D #31C587 #31B9C5
triadic
#31C587 #8731C5 #C58731
tetradic
#31C587 #3D31C5 #C5316F #B9C531
square
#31C587 #3D31C5 #C5316F #B9C531
split-complementary
#31C587 #C531B9 #C53D31
monochromatic
#196344 #259465 #31C587 #5DD7A3 #8EE3BF

Accessibility & contrast

On white

2.22
#31C587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#31C587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C587
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C587#FFFFFF#000000##000000
##31C5871.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B683
Deuteranopia (green-blind)
#B0A98B
Tritanopia (blue-blind)
#00C4B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #31c587;
/* rgb */ color: rgb(49, 197, 135);
/* oklch */ color: oklch(73.3% 0.152 160.1);
Tailwind
colors: {
  custom: {
    50: '#7fd8aa',
    500: '#31c587',
    950: '#000000',
  },
}
SCSS
$custom: #31c587;
$custom-light: #7fd8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#31c587",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 135
  },
  "hsl": {
    "h": 154.865,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73268,
    "c": 0.15188,
    "h": 160.1
  },
  "luminance": 0.42335
}

Semantic roles & 50–950 ramp

primary
#31C587
secondary
#CD85A3
accent
#4487E3
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C1410
muted
#7D837F

Preview Lab

Preview with #31C587

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

Preview Lab → · Contrast checker → · Palette generator →

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