#31C15F#31C15F

#31C15F is a light, vivid green. Relative luminance 0.396; OKLCH L 71.5% C 0.183 H 149.2°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#31C15F
RGBrgb(49, 193, 95)
HSLhsl(139, 60%, 47%)
HSVhsv(139, 75%, 76%)
CMYKcmyk(74.6%, 0%, 50.8%, 24.3%)
CIE-LABlab(69.20, -58.38, 38.58)
CIE-LCHlch(69.20, 69.98, 146.54°)
OKLaboklab(71.49% -0.1569 0.0934)
OKLCHoklch(71.49% 0.183 149.2)
XYZxyz(22.4003, 39.6165, 17.2904)
Luminance0.3962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C15F #C13193
analogous
#4BC131 #31C15F #31C1A7
triadic
#31C15F #5F31C1 #C15F31
tetradic
#31C15F #314BC1 #C13193 #C1A731
square
#31C15F #314BC1 #C13193 #C1A731
split-complementary
#31C15F #A731C1 #C1314B
monochromatic
#185F2F #259047 #31C15F #5AD581 #8BE2A7

Accessibility & contrast

On white

2.35
#31C15F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#31C15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C15F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C15F#FFFFFF#000000##000000
##31C15F1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c15f;
/* rgb */ color: rgb(49, 193, 95);
/* oklch */ color: oklch(71.5% 0.183 149.2);
Tailwind
colors: {
  custom: {
    50: '#7fd58e',
    500: '#31c15f',
    950: '#000000',
  },
}
SCSS
$custom: #31c15f;
$custom-light: #7fd58e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c15f",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 95
  },
  "hsl": {
    "h": 139.167,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71485,
    "c": 0.18265,
    "h": 149.2
  },
  "luminance": 0.39619
}

Semantic roles & 50–950 ramp

primary
#31C15F
secondary
#CC82B4
accent
#45B0E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C15F

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

Preview Lab → · Contrast checker → · Palette generator →

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