#31C156#31C156

#31C156 is a light, vivid green. Relative luminance 0.395; OKLCH L 71.4% C 0.190 H 147.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#31C156
RGBrgb(49, 193, 86)
HSLhsl(135, 60%, 47%)
HSVhsv(135, 75%, 76%)
CMYKcmyk(74.6%, 0%, 55.4%, 24.3%)
CIE-LABlab(69.08, -59.68, 42.81)
CIE-LCHlch(69.08, 73.45, 144.35°)
OKLaboklab(71.36% -0.1606 0.1023)
OKLCHoklch(71.36% 0.19 147.5)
XYZxyz(22.0146, 39.4622, 15.2590)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C156 #C1319C
analogous
#54C131 #31C156 #31C19E
triadic
#31C156 #5631C1 #C15631
tetradic
#31C156 #3154C1 #C1319C #C19E31
square
#31C156 #3154C1 #C1319C #C19E31
split-complementary
#31C156 #9E31C1 #C13154
monochromatic
#185F2B #259040 #31C156 #5AD57A #8BE2A1

Accessibility & contrast

On white

2.36
#31C156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#31C156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C156
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C156#FFFFFF#000000##000000
##31C1561.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B04C
Deuteranopia (green-blind)
#B3A45E
Tritanopia (blue-blind)
#00BDA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c156;
/* rgb */ color: rgb(49, 193, 86);
/* oklch */ color: oklch(71.4% 0.190 147.5);
Tailwind
colors: {
  custom: {
    50: '#7fd588',
    500: '#31c156',
    950: '#000000',
  },
}
SCSS
$custom: #31c156;
$custom-light: #7fd588;
$custom-dark: #000000;
JSON
{
  "hex": "#31c156",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 86
  },
  "hsl": {
    "h": 135.417,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71358,
    "c": 0.19039,
    "h": 147.5
  },
  "luminance": 0.39465
}

Semantic roles & 50–950 ramp

primary
#31C156
secondary
#CC82B9
accent
#45BAE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C156

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

Preview Lab → · Contrast checker → · Palette generator →

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