#31C571#31C571

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

Color values

HEX#31C571
RGBrgb(49, 197, 113)
HSLhsl(146, 60%, 48%)
HSVhsv(146, 75%, 77%)
CMYKcmyk(75.1%, 0%, 42.6%, 22.7%)
CIE-LABlab(70.72, -56.82, 31.43)
CIE-LCHlch(70.72, 64.93, 151.05°)
OKLaboklab(72.83% -0.1529 0.0778)
OKLCHoklch(72.83% 0.172 153.1)
XYZxyz(24.2113, 41.7749, 22.4069)
Luminance0.4178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C571 #C53185
analogous
#3BC531 #31C571 #31C5BB
triadic
#31C571 #7131C5 #C57131
tetradic
#31C571 #313BC5 #C53185 #C5BB31
square
#31C571 #313BC5 #C53185 #C5BB31
split-complementary
#31C571 #BB31C5 #C5313B
monochromatic
#196339 #259455 #31C571 #5DD791 #8EE3B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C571#FFFFFF#000000##000000
##31C5711.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)
#C5B46B
Deuteranopia (green-blind)
#B4A877
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c571;
/* rgb */ color: rgb(49, 197, 113);
/* oklch */ color: oklch(72.8% 0.172 153.1);
Tailwind
colors: {
  custom: {
    50: '#7fd89b',
    500: '#31c571',
    950: '#000000',
  },
}
SCSS
$custom: #31c571;
$custom-light: #7fd89b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c571",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 145.946,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72826,
    "c": 0.17156,
    "h": 153.1
  },
  "luminance": 0.41778
}

Semantic roles & 50–950 ramp

primary
#31C571
secondary
#CD85AE
accent
#449FE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C571

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

Preview Lab → · Contrast checker → · Palette generator →

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