#31C96C#31C96C

#31C96C is a light, vivid green. Relative luminance 0.435; OKLCH L 73.8% C 0.181 H 151.3°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#31C96C
RGBrgb(49, 201, 108)
HSLhsl(143, 61%, 49%)
HSVhsv(143, 76%, 79%)
CMYKcmyk(75.6%, 0%, 46.3%, 21.2%)
CIE-LABlab(71.90, -59.12, 35.50)
CIE-LCHlch(71.90, 68.95, 149.02°)
OKLaboklab(73.78% -0.1589 0.087)
OKLCHoklch(73.78% 0.181 151.3)
XYZxyz(24.8579, 43.5060, 21.2719)
Luminance0.4351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C96C #C9318E
analogous
#42C931 #31C96C #31C9B8
triadic
#31C96C #6C31C9 #C96C31
tetradic
#31C96C #3142C9 #C9318E #C9B831
square
#31C96C #3142C9 #C9318E #C9B831
split-complementary
#31C96C #B831C9 #C93142
monochromatic
#196737 #259852 #31C96C #5FD88E #90E4B1

Accessibility & contrast

On white

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

On black

9.70
#31C96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C96C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C96C#FFFFFF#000000##000000
##31C96C1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB865
Deuteranopia (green-blind)
#B8AB73
Tritanopia (blue-blind)
#00C6B3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #31c96c;
/* rgb */ color: rgb(49, 201, 108);
/* oklch */ color: oklch(73.8% 0.181 151.3);
Tailwind
colors: {
  custom: {
    50: '#80db97',
    500: '#31c96c',
    950: '#000000',
  },
}
SCSS
$custom: #31c96c;
$custom-light: #80db97;
$custom-dark: #000000;
JSON
{
  "hex": "#31c96c",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 108
  },
  "hsl": {
    "h": 143.289,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73778,
    "c": 0.18116,
    "h": 151.3
  },
  "luminance": 0.43509
}

Semantic roles & 50–950 ramp

primary
#31C96C
secondary
#CF87B3
accent
#44A6E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150D
muted
#7D837E

Preview Lab

Preview with #31C96C

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

Preview Lab → · Contrast checker → · Palette generator →

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