#31CC87#31CC87

#31CC87 is a light, vivid teal. Relative luminance 0.456; OKLCH L 75.1% C 0.161 H 158.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#31CC87
RGBrgb(49, 204, 135)
HSLhsl(153, 61%, 50%)
HSVhsv(153, 76%, 80%)
CMYKcmyk(76%, 0%, 33.8%, 20%)
CIE-LABlab(73.28, -55.19, 23.38)
CIE-LCHlch(73.28, 59.94, 157.05°)
OKLaboklab(75.06% -0.1496 0.059)
OKLCHoklch(75.06% 0.161 158.5)
XYZxyz(27.2299, 45.5847, 30.2806)
Luminance0.4559 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31CC87 #CC3176
analogous
#31CC39 #31CC87 #31C4CC
triadic
#31CC87 #8731CC #CC8731
tetradic
#31CC87 #3931CC #CC3176 #C4CC31
square
#31CC87 #3931CC #CC3176 #C4CC31
split-complementary
#31CC87 #CC31C4 #CC3931
monochromatic
#196946 #259B66 #31CC87 #61D9A4 #92E5C0

Accessibility & contrast

On white

2.08
#31CC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#31CC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31CC87
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31CC87#FFFFFF#000000##000000
##31CC871.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABC83
Deuteranopia (green-blind)
#B7AF8C
Tritanopia (blue-blind)
#00CBBA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #31cc87;
/* rgb */ color: rgb(49, 204, 135);
/* oklch */ color: oklch(75.1% 0.161 158.5);
Tailwind
colors: {
  custom: {
    50: '#80ddaa',
    500: '#31cc87',
    950: '#000000',
  },
}
SCSS
$custom: #31cc87;
$custom-light: #80ddaa;
$custom-dark: #000000;
JSON
{
  "hex": "#31cc87",
  "rgb": {
    "r": 49,
    "g": 204,
    "b": 135
  },
  "hsl": {
    "h": 153.29,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75061,
    "c": 0.16079,
    "h": 158.5
  },
  "luminance": 0.45588
}

Semantic roles & 50–950 ramp

primary
#31CC87
secondary
#D089A9
accent
#438BE4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #31CC87

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

Preview Lab → · Contrast checker → · Palette generator →

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