#31C56F#31C56F

#31C56F is a light, vivid green. Relative luminance 0.417; OKLCH L 72.8% C 0.173 H 152.5°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#31C56F
RGBrgb(49, 197, 111)
HSLhsl(145, 60%, 48%)
HSVhsv(145, 75%, 77%)
CMYKcmyk(75.1%, 0%, 43.7%, 22.7%)
CIE-LABlab(70.68, -57.17, 32.42)
CIE-LCHlch(70.68, 65.72, 150.45°)
OKLaboklab(72.79% -0.1538 0.08)
OKLCHoklch(72.79% 0.173 152.5)
XYZxyz(24.1000, 41.7303, 21.8205)
Luminance0.4173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C56F #C53187
analogous
#3DC531 #31C56F #31C5B9
triadic
#31C56F #6F31C5 #C56F31
tetradic
#31C56F #313DC5 #C53187 #C5B931
square
#31C56F #313DC5 #C53187 #C5B931
split-complementary
#31C56F #B931C5 #C5313D
monochromatic
#196338 #259453 #31C56F #5DD790 #8EE3B1

Accessibility & contrast

On white

2.25
#31C56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#31C56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C56F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C56F#FFFFFF#000000##000000
##31C56F1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B469
Deuteranopia (green-blind)
#B4A875
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c56f;
/* rgb */ color: rgb(49, 197, 111);
/* oklch */ color: oklch(72.8% 0.173 152.5);
Tailwind
colors: {
  custom: {
    50: '#7fd899',
    500: '#31c56f',
    950: '#000000',
  },
}
SCSS
$custom: #31c56f;
$custom-light: #7fd899;
$custom-dark: #000000;
JSON
{
  "hex": "#31c56f",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 111
  },
  "hsl": {
    "h": 145.135,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.17337,
    "h": 152.5
  },
  "luminance": 0.41733
}

Semantic roles & 50–950 ramp

primary
#31C56F
secondary
#CD85AF
accent
#44A1E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C56F

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

Preview Lab → · Contrast checker → · Palette generator →

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