#31C557#31C557

#31C557 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.4% C 0.194 H 147.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#31C557
RGBrgb(49, 197, 87)
HSLhsl(135, 60%, 48%)
HSVhsv(135, 75%, 77%)
CMYKcmyk(75.1%, 0%, 55.8%, 22.7%)
CIE-LABlab(70.37, -60.91, 43.87)
CIE-LCHlch(70.37, 75.06, 144.23°)
OKLaboklab(72.42% -0.1639 0.1047)
OKLCHoklch(72.42% 0.194 147.4)
XYZxyz(22.9514, 41.2709, 15.7715)
Luminance0.4127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C557 #C5319F
analogous
#55C531 #31C557 #31C5A1
triadic
#31C557 #5731C5 #C55731
tetradic
#31C557 #3155C5 #C5319F #C5A131
square
#31C557 #3155C5 #C5319F #C5A131
split-complementary
#31C557 #A131C5 #C53155
monochromatic
#19632C #259441 #31C557 #5DD77C #8EE3A3

Accessibility & contrast

On white

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

On black

9.25
#31C557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C557
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C557#FFFFFF#000000##000000
##31C5571.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#B6A760
Tritanopia (blue-blind)
#00C1AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c557;
/* rgb */ color: rgb(49, 197, 87);
/* oklch */ color: oklch(72.4% 0.194 147.4);
Tailwind
colors: {
  custom: {
    50: '#80d889',
    500: '#31c557',
    950: '#000000',
  },
}
SCSS
$custom: #31c557;
$custom-light: #80d889;
$custom-dark: #000000;
JSON
{
  "hex": "#31c557",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 135.405,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72422,
    "c": 0.19444,
    "h": 147.4
  },
  "luminance": 0.41274
}

Semantic roles & 50–950 ramp

primary
#31C557
secondary
#CD85BB
accent
#44BBE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #31C557

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

Preview Lab → · Contrast checker → · Palette generator →

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