#31C771#31C771

#31C771 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.3% C 0.174 H 152.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#31C771
RGBrgb(49, 199, 113)
HSLhsl(146, 60%, 49%)
HSVhsv(146, 75%, 78%)
CMYKcmyk(75.4%, 0%, 43.2%, 22%)
CIE-LABlab(71.34, -57.54, 32.25)
CIE-LCHlch(71.34, 65.96, 150.73°)
OKLaboklab(73.35% -0.1548 0.0797)
OKLCHoklch(73.35% 0.174 152.8)
XYZxyz(24.6685, 42.6892, 22.5593)
Luminance0.4269 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C771 #C73187
analogous
#3CC731 #31C771 #31C7BC
triadic
#31C771 #7131C7 #C77131
tetradic
#31C771 #313CC7 #C73187 #C7BC31
square
#31C771 #313CC7 #C73187 #C7BC31
split-complementary
#31C771 #BC31C7 #C7313C
monochromatic
#196539 #259655 #31C771 #5ED792 #8FE3B3

Accessibility & contrast

On white

2.20
#31C771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#31C771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C771
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C771#FFFFFF#000000##000000
##31C7711.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66B
Deuteranopia (green-blind)
#B6AA77
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c771;
/* rgb */ color: rgb(49, 199, 113);
/* oklch */ color: oklch(73.3% 0.174 152.8);
Tailwind
colors: {
  custom: {
    50: '#7fd99b',
    500: '#31c771',
    950: '#000000',
  },
}
SCSS
$custom: #31c771;
$custom-light: #7fd99b;
$custom-dark: #000000;
JSON
{
  "hex": "#31c771",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 113
  },
  "hsl": {
    "h": 145.6,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73345,
    "c": 0.17412,
    "h": 152.8
  },
  "luminance": 0.42692
}

Semantic roles & 50–950 ramp

primary
#31C771
secondary
#CE86AF
accent
#44A0E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C771

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

Preview Lab → · Contrast checker → · Palette generator →

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