#31C157#31C157

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

Color values

HEX#31C157
RGBrgb(49, 193, 87)
HSLhsl(136, 60%, 47%)
HSVhsv(136, 75%, 76%)
CMYKcmyk(74.6%, 0%, 54.9%, 24.3%)
CIE-LABlab(69.10, -59.54, 42.35)
CIE-LCHlch(69.10, 73.07, 144.58°)
OKLaboklab(71.37% -0.1602 0.1013)
OKLCHoklch(71.37% 0.19 147.7)
XYZxyz(22.0552, 39.4785, 15.4727)
Luminance0.3948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C157 #C1319B
analogous
#53C131 #31C157 #31C19F
triadic
#31C157 #5731C1 #C15731
tetradic
#31C157 #3153C1 #C1319B #C19F31
square
#31C157 #3153C1 #C1319B #C19F31
split-complementary
#31C157 #9F31C1 #C13153
monochromatic
#185F2B #259041 #31C157 #5AD57B #8BE2A2

Accessibility & contrast

On white

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

On black

8.90
#31C157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C157
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C157#FFFFFF#000000##000000
##31C1571.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c157;
/* rgb */ color: rgb(49, 193, 87);
/* oklch */ color: oklch(71.4% 0.190 147.7);
Tailwind
colors: {
  custom: {
    50: '#7fd589',
    500: '#31c157',
    950: '#000000',
  },
}
SCSS
$custom: #31c157;
$custom-light: #7fd589;
$custom-dark: #000000;
JSON
{
  "hex": "#31c157",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 135.833,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71371,
    "c": 0.18955,
    "h": 147.7
  },
  "luminance": 0.39481
}

Semantic roles & 50–950 ramp

primary
#31C157
secondary
#CC82B8
accent
#45B9E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C157

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

Preview Lab → · Contrast checker → · Palette generator →

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