#31C470#31C470

#31C470 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.5% C 0.171 H 152.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#31C470
RGBrgb(49, 196, 112)
HSLhsl(146, 60%, 48%)
HSVhsv(146, 75%, 77%)
CMYKcmyk(75%, 0%, 42.9%, 23.1%)
CIE-LABlab(70.39, -56.63, 31.52)
CIE-LCHlch(70.39, 64.81, 150.90°)
OKLaboklab(72.55% -0.1524 0.0779)
OKLCHoklch(72.55% 0.171 152.9)
XYZxyz(23.9290, 41.2999, 22.0366)
Luminance0.4130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C470 #C43185
analogous
#3CC431 #31C470 #31C4B9
triadic
#31C470 #7031C4 #C47031
tetradic
#31C470 #313CC4 #C43185 #C4B931
square
#31C470 #313CC4 #C43185 #C4B931
split-complementary
#31C470 #B931C4 #C4313C
monochromatic
#196238 #259354 #31C470 #5CD690 #8DE2B2

Accessibility & contrast

On white

2.27
#31C470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#31C470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C470
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C470#FFFFFF#000000##000000
##31C4701.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B46A
Deuteranopia (green-blind)
#B3A776
Tritanopia (blue-blind)
#00C1AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c470;
/* rgb */ color: rgb(49, 196, 112);
/* oklch */ color: oklch(72.5% 0.171 152.9);
Tailwind
colors: {
  custom: {
    50: '#7fd79a',
    500: '#31c470',
    950: '#000000',
  },
}
SCSS
$custom: #31c470;
$custom-light: #7fd79a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c470",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 112
  },
  "hsl": {
    "h": 145.714,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72548,
    "c": 0.17119,
    "h": 152.9
  },
  "luminance": 0.41303
}

Semantic roles & 50–950 ramp

primary
#31C470
secondary
#CD84AE
accent
#459FE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #31C470

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

Preview Lab → · Contrast checker → · Palette generator →

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