#31C971#31C971

#31C971 is a light, vivid green. Relative luminance 0.436; OKLCH L 73.9% C 0.177 H 152.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#31C971
RGBrgb(49, 201, 113)
HSLhsl(145, 61%, 49%)
HSVhsv(145, 76%, 79%)
CMYKcmyk(75.6%, 0%, 43.8%, 21.2%)
CIE-LABlab(71.97, -58.26, 33.06)
CIE-LCHlch(71.97, 66.99, 150.43°)
OKLaboklab(73.86% -0.1567 0.0815)
OKLCHoklch(73.86% 0.177 152.5)
XYZxyz(25.1316, 43.6155, 22.7137)
Luminance0.4362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C971 #C93189
analogous
#3DC931 #31C971 #31C9BD
triadic
#31C971 #7131C9 #C97131
tetradic
#31C971 #313DC9 #C93189 #C9BD31
square
#31C971 #313DC9 #C93189 #C9BD31
split-complementary
#31C971 #BD31C9 #C9313D
monochromatic
#19673A #259855 #31C971 #5FD892 #90E4B4

Accessibility & contrast

On white

2.16
#31C971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#31C971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C971
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C971#FFFFFF#000000##000000
##31C9711.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B86A
Deuteranopia (green-blind)
#B7AB77
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #31c971;
/* rgb */ color: rgb(49, 201, 113);
/* oklch */ color: oklch(73.9% 0.177 152.5);
Tailwind
colors: {
  custom: {
    50: '#80db9b',
    500: '#31c971',
    950: '#000000',
  },
}
SCSS
$custom: #31c971;
$custom-light: #80db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c971",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 113
  },
  "hsl": {
    "h": 145.263,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73863,
    "c": 0.17667,
    "h": 152.5
  },
  "luminance": 0.43619
}

Semantic roles & 50–950 ramp

primary
#31C971
secondary
#CF87B1
accent
#44A1E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C971

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

Preview Lab → · Contrast checker → · Palette generator →

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