#31C15B#31C15B

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

Color values

HEX#31C15B
RGBrgb(49, 193, 91)
HSLhsl(138, 60%, 47%)
HSVhsv(138, 75%, 76%)
CMYKcmyk(74.6%, 0%, 52.8%, 24.3%)
CIE-LABlab(69.14, -58.97, 40.48)
CIE-LCHlch(69.14, 71.53, 145.53°)
OKLaboklab(71.43% -0.1586 0.0974)
OKLCHoklch(71.43% 0.186 148.4)
XYZxyz(22.2232, 39.5456, 16.3574)
Luminance0.3955 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C15B #C13197
analogous
#4FC131 #31C15B #31C1A3
triadic
#31C15B #5B31C1 #C15B31
tetradic
#31C15B #314FC1 #C13197 #C1A331
square
#31C15B #314FC1 #C13197 #C1A331
split-complementary
#31C15B #A331C1 #C1314F
monochromatic
#185F2D #259044 #31C15B #5AD57E #8BE2A4

Accessibility & contrast

On white

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

On black

8.91
#31C15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C15B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C15B#FFFFFF#000000##000000
##31C15B1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B052
Deuteranopia (green-blind)
#B2A463
Tritanopia (blue-blind)
#00BDAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c15b;
/* rgb */ color: rgb(49, 193, 91);
/* oklch */ color: oklch(71.4% 0.186 148.4);
Tailwind
colors: {
  custom: {
    50: '#7fd58c',
    500: '#31c15b',
    950: '#000000',
  },
}
SCSS
$custom: #31c15b;
$custom-light: #7fd58c;
$custom-dark: #000000;
JSON
{
  "hex": "#31c15b",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 137.5,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71427,
    "c": 0.18614,
    "h": 148.4
  },
  "luminance": 0.39548
}

Semantic roles & 50–950 ramp

primary
#31C15B
secondary
#CC82B6
accent
#45B5E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C15B

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

Preview Lab → · Contrast checker → · Palette generator →

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