#31C570#31C570

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

Color values

HEX#31C570
RGBrgb(49, 197, 112)
HSLhsl(146, 60%, 48%)
HSVhsv(146, 75%, 77%)
CMYKcmyk(75.1%, 0%, 43.1%, 22.7%)
CIE-LABlab(70.70, -57.00, 31.92)
CIE-LCHlch(70.70, 65.33, 150.75°)
OKLaboklab(72.81% -0.1534 0.0789)
OKLCHoklch(72.81% 0.172 152.8)
XYZxyz(24.1553, 41.7525, 22.1121)
Luminance0.4175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C570 #C53186
analogous
#3CC531 #31C570 #31C5BA
triadic
#31C570 #7031C5 #C57031
tetradic
#31C570 #313CC5 #C53186 #C5BA31
square
#31C570 #313CC5 #C53186 #C5BA31
split-complementary
#31C570 #BA31C5 #C5313C
monochromatic
#196338 #259454 #31C570 #5DD791 #8EE3B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C570#FFFFFF#000000##000000
##31C5701.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)
#C5B46A
Deuteranopia (green-blind)
#B4A876
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c570;
/* rgb */ color: rgb(49, 197, 112);
/* oklch */ color: oklch(72.8% 0.172 152.8);
Tailwind
colors: {
  custom: {
    50: '#7fd89a',
    500: '#31c570',
    950: '#000000',
  },
}
SCSS
$custom: #31c570;
$custom-light: #7fd89a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c570",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 112
  },
  "hsl": {
    "h": 145.541,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72808,
    "c": 0.17247,
    "h": 152.8
  },
  "luminance": 0.41755
}

Semantic roles & 50–950 ramp

primary
#31C570
secondary
#CD85AE
accent
#44A0E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C570

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

Preview Lab → · Contrast checker → · Palette generator →

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