#31C15D#31C15D

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

Color values

HEX#31C15D
RGBrgb(49, 193, 93)
HSLhsl(138, 60%, 47%)
HSVhsv(138, 75%, 76%)
CMYKcmyk(74.6%, 0%, 51.8%, 24.3%)
CIE-LABlab(69.17, -58.68, 39.54)
CIE-LCHlch(69.17, 70.75, 146.03°)
OKLaboklab(71.46% -0.1578 0.0954)
OKLCHoklch(71.46% 0.184 148.8)
XYZxyz(22.3106, 39.5806, 16.8178)
Luminance0.3958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C15D #C13195
analogous
#4DC131 #31C15D #31C1A5
triadic
#31C15D #5D31C1 #C15D31
tetradic
#31C15D #314DC1 #C13195 #C1A531
square
#31C15D #314DC1 #C13195 #C1A531
split-complementary
#31C15D #A531C1 #C1314D
monochromatic
#185F2E #259045 #31C15D #5AD580 #8BE2A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C15D#FFFFFF#000000##000000
##31C15D1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c15d;
/* rgb */ color: rgb(49, 193, 93);
/* oklch */ color: oklch(71.5% 0.184 148.8);
Tailwind
colors: {
  custom: {
    50: '#7fd58d',
    500: '#31c15d',
    950: '#000000',
  },
}
SCSS
$custom: #31c15d;
$custom-light: #7fd58d;
$custom-dark: #000000;
JSON
{
  "hex": "#31c15d",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 93
  },
  "hsl": {
    "h": 138.333,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71456,
    "c": 0.1844,
    "h": 148.8
  },
  "luminance": 0.39583
}

Semantic roles & 50–950 ramp

primary
#31C15D
secondary
#CC82B5
accent
#45B3E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C15D

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

Preview Lab → · Contrast checker → · Palette generator →

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