#31C988#31C988

#31C988 is a light, vivid teal. Relative luminance 0.442; OKLCH L 74.3% C 0.156 H 159.5°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#31C988
RGBrgb(49, 201, 136)
HSLhsl(154, 61%, 49%)
HSVhsv(154, 76%, 79%)
CMYKcmyk(75.6%, 0%, 32.3%, 21.2%)
CIE-LABlab(72.36, -53.84, 21.61)
CIE-LCHlch(72.36, 58.02, 158.14°)
OKLaboklab(74.32% -0.1462 0.0546)
OKLCHoklch(74.32% 0.156 159.5)
XYZxyz(26.5944, 44.2006, 30.4177)
Luminance0.4420 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C988 #C93172
analogous
#31C93C #31C988 #31BEC9
triadic
#31C988 #8831C9 #C98831
tetradic
#31C988 #3C31C9 #C93172 #BEC931
square
#31C988 #3C31C9 #C93172 #BEC931
split-complementary
#31C988 #C931BE #C93C31
monochromatic
#196745 #259867 #31C988 #5FD8A4 #90E4C0

Accessibility & contrast

On white

2.13
#31C988 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#31C988 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C988
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C988#FFFFFF#000000##000000
##31C9881.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B984
Deuteranopia (green-blind)
#B4AC8C
Tritanopia (blue-blind)
#00C8B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c988;
/* rgb */ color: rgb(49, 201, 136);
/* oklch */ color: oklch(74.3% 0.156 159.5);
Tailwind
colors: {
  custom: {
    50: '#80daab',
    500: '#31c988',
    950: '#000000',
  },
}
SCSS
$custom: #31c988;
$custom-light: #80daab;
$custom-dark: #000000;
JSON
{
  "hex": "#31c988",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 136
  },
  "hsl": {
    "h": 154.342,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74315,
    "c": 0.1561,
    "h": 159.5
  },
  "luminance": 0.44204
}

Semantic roles & 50–950 ramp

primary
#31C988
secondary
#CF87A6
accent
#4488E4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C1510
muted
#7D837F

Preview Lab

Preview with #31C988

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

Preview Lab → · Contrast checker → · Palette generator →

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