#31C970#31C970

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

Color values

HEX#31C970
RGBrgb(49, 201, 112)
HSLhsl(145, 61%, 49%)
HSVhsv(145, 76%, 79%)
CMYKcmyk(75.6%, 0%, 44.3%, 21.2%)
CIE-LABlab(71.96, -58.44, 33.55)
CIE-LCHlch(71.96, 67.38, 150.14°)
OKLaboklab(73.85% -0.1572 0.0826)
OKLCHoklch(73.85% 0.178 152.3)
XYZxyz(25.0757, 43.5931, 22.4188)
Luminance0.4360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C970 #C9318A
analogous
#3EC931 #31C970 #31C9BC
triadic
#31C970 #7031C9 #C97031
tetradic
#31C970 #313EC9 #C9318A #C9BC31
square
#31C970 #313EC9 #C9318A #C9BC31
split-complementary
#31C970 #BC31C9 #C9313E
monochromatic
#196739 #259855 #31C970 #5FD891 #90E4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C970#FFFFFF#000000##000000
##31C9701.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)
#C9B869
Deuteranopia (green-blind)
#B8AB76
Tritanopia (blue-blind)
#00C6B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #31c970;
/* rgb */ color: rgb(49, 201, 112);
/* oklch */ color: oklch(73.8% 0.178 152.3);
Tailwind
colors: {
  custom: {
    50: '#80db9a',
    500: '#31c970',
    950: '#000000',
  },
}
SCSS
$custom: #31c970;
$custom-light: #80db9a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c970",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 112
  },
  "hsl": {
    "h": 144.868,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73846,
    "c": 0.17757,
    "h": 152.3
  },
  "luminance": 0.43596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C970

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

Preview Lab → · Contrast checker → · Palette generator →

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