#31C57A#31C57A

#31C57A is a light, vivid green. Relative luminance 0.420; OKLCH L 73.0% C 0.163 H 155.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#31C57A
RGBrgb(49, 197, 122)
HSLhsl(150, 60%, 48%)
HSVhsv(150, 75%, 77%)
CMYKcmyk(75.1%, 0%, 38.1%, 22.7%)
CIE-LABlab(70.86, -55.15, 26.95)
CIE-LCHlch(70.86, 61.38, 153.95°)
OKLaboklab(73% -0.1488 0.0674)
OKLCHoklch(73% 0.163 155.6)
XYZxyz(24.7433, 41.9877, 25.2090)
Luminance0.4199 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C57A #C5317C
analogous
#32C531 #31C57A #31C5C4
triadic
#31C57A #7A31C5 #C57A31
tetradic
#31C57A #3132C5 #C5317C #C5C431
square
#31C57A #3132C5 #C5317C #C5C431
split-complementary
#31C57A #C431C5 #C53132
monochromatic
#19633D #25945C #31C57A #5DD799 #8EE3B8

Accessibility & contrast

On white

2.23
#31C57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#31C57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C57A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C57A#FFFFFF#000000##000000
##31C57A1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B575
Deuteranopia (green-blind)
#B2A87F
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c57a;
/* rgb */ color: rgb(49, 197, 122);
/* oklch */ color: oklch(73.0% 0.163 155.6);
Tailwind
colors: {
  custom: {
    50: '#7fd8a1',
    500: '#31c57a',
    950: '#000000',
  },
}
SCSS
$custom: #31c57a;
$custom-light: #7fd8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31c57a",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 122
  },
  "hsl": {
    "h": 149.595,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72996,
    "c": 0.16339,
    "h": 155.6
  },
  "luminance": 0.41991
}

Semantic roles & 50–950 ramp

primary
#31C57A
secondary
#CD85A9
accent
#4495E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #31C57A

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

Preview Lab → · Contrast checker → · Palette generator →

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