#31C981#31C981

#31C981 is a light, vivid teal. Relative luminance 0.440; OKLCH L 74.2% C 0.162 H 157.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#31C981
RGBrgb(49, 201, 129)
HSLhsl(152, 61%, 49%)
HSVhsv(152, 76%, 79%)
CMYKcmyk(75.6%, 0%, 35.8%, 21.2%)
CIE-LABlab(72.23, -55.27, 25.12)
CIE-LCHlch(72.23, 60.71, 155.56°)
OKLaboklab(74.17% -0.1495 0.0631)
OKLCHoklch(74.17% 0.162 157.1)
XYZxyz(26.1131, 44.0081, 27.8828)
Luminance0.4401 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C981 #C93179
analogous
#31C935 #31C981 #31C5C9
triadic
#31C981 #8131C9 #C98131
tetradic
#31C981 #3531C9 #C93179 #C5C931
square
#31C981 #3531C9 #C93179 #C5C931
split-complementary
#31C981 #C931C5 #C93531
monochromatic
#196742 #259861 #31C981 #5FD89F #90E4BC

Accessibility & contrast

On white

2.14
#31C981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#31C981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C981
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C981#FFFFFF#000000##000000
##31C9811.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97C
Deuteranopia (green-blind)
#B5AC86
Tritanopia (blue-blind)
#00C7B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c981;
/* rgb */ color: rgb(49, 201, 129);
/* oklch */ color: oklch(74.2% 0.162 157.1);
Tailwind
colors: {
  custom: {
    50: '#80daa6',
    500: '#31c981',
    950: '#000000',
  },
}
SCSS
$custom: #31c981;
$custom-light: #80daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#31c981",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 151.579,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74167,
    "c": 0.16226,
    "h": 157.1
  },
  "luminance": 0.44011
}

Semantic roles & 50–950 ramp

primary
#31C981
secondary
#CF87A9
accent
#4490E4
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31C981

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

Preview Lab → · Contrast checker → · Palette generator →

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