#31C572#31C572

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

Color values

HEX#31C572
RGBrgb(49, 197, 114)
HSLhsl(146, 60%, 48%)
HSVhsv(146, 75%, 77%)
CMYKcmyk(75.1%, 0%, 42.1%, 22.7%)
CIE-LABlab(70.73, -56.64, 30.94)
CIE-LCHlch(70.73, 64.54, 151.36°)
OKLaboklab(72.84% -0.1525 0.0766)
OKLCHoklch(72.84% 0.171 153.3)
XYZxyz(24.2679, 41.7975, 22.7051)
Luminance0.4180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C572 #C53184
analogous
#3AC531 #31C572 #31C5BC
triadic
#31C572 #7231C5 #C57231
tetradic
#31C572 #313AC5 #C53184 #C5BC31
square
#31C572 #313AC5 #C53184 #C5BC31
split-complementary
#31C572 #BC31C5 #C5313A
monochromatic
#196339 #259456 #31C572 #5DD792 #8EE3B3

Accessibility & contrast

On white

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

On black

9.36
#31C572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C572
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C572#FFFFFF#000000##000000
##31C5721.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B46C
Deuteranopia (green-blind)
#B3A878
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c572;
/* rgb */ color: rgb(49, 197, 114);
/* oklch */ color: oklch(72.8% 0.171 153.3);
Tailwind
colors: {
  custom: {
    50: '#7fd89b',
    500: '#31c572',
    950: '#000000',
  },
}
SCSS
$custom: #31c572;
$custom-light: #7fd89b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c572",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 114
  },
  "hsl": {
    "h": 146.351,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72844,
    "c": 0.17065,
    "h": 153.3
  },
  "luminance": 0.418
}

Semantic roles & 50–950 ramp

primary
#31C572
secondary
#CD85AD
accent
#449EE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C572

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

Preview Lab → · Contrast checker → · Palette generator →

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