#31C997#31C997

#31C997 is a light, vivid teal. Relative luminance 0.447; OKLCH L 74.7% C 0.144 H 165.6°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#31C997
RGBrgb(49, 201, 151)
HSLhsl(160, 61%, 49%)
HSVhsv(160, 76%, 79%)
CMYKcmyk(75.6%, 0%, 24.9%, 21.2%)
CIE-LABlab(72.67, -50.54, 14.03)
CIE-LCHlch(72.67, 52.45, 164.49°)
OKLaboklab(74.66% -0.1392 0.0358)
OKLCHoklch(74.66% 0.144 165.6)
XYZxyz(27.7360, 44.6573, 36.4301)
Luminance0.4466 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C997 #C93163
analogous
#31C94B #31C997 #31AFC9
triadic
#31C997 #9731C9 #C99731
tetradic
#31C997 #4B31C9 #C93163 #AFC931
square
#31C997 #4B31C9 #C93163 #AFC931
split-complementary
#31C997 #C931AF #C94B31
monochromatic
#19674D #259872 #31C997 #5FD8B0 #90E4C9

Accessibility & contrast

On white

2.11
#31C997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#31C997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C997
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C997#FFFFFF#000000##000000
##31C9971.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5BA94
Deuteranopia (green-blind)
#B2AD9A
Tritanopia (blue-blind)
#00C9BB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #31c997;
/* rgb */ color: rgb(49, 201, 151);
/* oklch */ color: oklch(74.7% 0.144 165.6);
Tailwind
colors: {
  custom: {
    50: '#80dab5',
    500: '#31c997',
    950: '#000000',
  },
}
SCSS
$custom: #31c997;
$custom-light: #80dab5;
$custom-dark: #000000;
JSON
{
  "hex": "#31c997",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 151
  },
  "hsl": {
    "h": 160.263,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74664,
    "c": 0.14372,
    "h": 165.6
  },
  "luminance": 0.44661
}

Semantic roles & 50–950 ramp

primary
#31C997
secondary
#CF879F
accent
#4479E4
background
#F8FDFB
surface
#F0FBF6
border
#CBD4D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #31C997

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

Preview Lab → · Contrast checker → · Palette generator →

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