#31C574#31C574

#31C574 is a light, vivid green. Relative luminance 0.418; OKLCH L 72.9% C 0.169 H 153.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#31C574
RGBrgb(49, 197, 116)
HSLhsl(147, 60%, 48%)
HSVhsv(147, 75%, 77%)
CMYKcmyk(75.1%, 0%, 41.1%, 22.7%)
CIE-LABlab(70.76, -56.28, 29.95)
CIE-LCHlch(70.76, 63.75, 151.98°)
OKLaboklab(72.88% -0.1516 0.0744)
OKLCHoklch(72.88% 0.169 153.9)
XYZxyz(24.3830, 41.8435, 23.3112)
Luminance0.4185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C574 #C53182
analogous
#38C531 #31C574 #31C5BE
triadic
#31C574 #7431C5 #C57431
tetradic
#31C574 #3138C5 #C53182 #C5BE31
square
#31C574 #3138C5 #C53182 #C5BE31
split-complementary
#31C574 #BE31C5 #C53138
monochromatic
#19633A #259457 #31C574 #5DD794 #8EE3B4

Accessibility & contrast

On white

2.24
#31C574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#31C574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C574
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C574#FFFFFF#000000##000000
##31C5741.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56E
Deuteranopia (green-blind)
#B3A879
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c574;
/* rgb */ color: rgb(49, 197, 116);
/* oklch */ color: oklch(72.9% 0.169 153.9);
Tailwind
colors: {
  custom: {
    50: '#7fd89d',
    500: '#31c574',
    950: '#000000',
  },
}
SCSS
$custom: #31c574;
$custom-light: #7fd89d;
$custom-dark: #000000;
JSON
{
  "hex": "#31c574",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 116
  },
  "hsl": {
    "h": 147.162,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.16883,
    "h": 153.9
  },
  "luminance": 0.41846
}

Semantic roles & 50–950 ramp

primary
#31C574
secondary
#CD85AC
accent
#449BE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C574

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

Preview Lab → · Contrast checker → · Palette generator →

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