#31BF57#31BF57

#31BF57 is a light, vivid green. Relative luminance 0.386; OKLCH L 70.8% C 0.187 H 147.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#31BF57
RGBrgb(49, 191, 87)
HSLhsl(136, 59%, 47%)
HSVhsv(136, 74%, 75%)
CMYKcmyk(74.3%, 0%, 54.5%, 25.1%)
CIE-LABlab(68.46, -58.86, 41.58)
CIE-LCHlch(68.46, 72.06, 144.76°)
OKLaboklab(70.85% -0.1583 0.0996)
OKLCHoklch(70.85% 0.187 147.8)
XYZxyz(21.6161, 38.6002, 15.3263)
Luminance0.3860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF57 #BF3199
analogous
#52BF31 #31BF57 #31BF9E
triadic
#31BF57 #5731BF #BF5731
tetradic
#31BF57 #3152BF #BF3199 #BF9E31
square
#31BF57 #3152BF #BF3199 #BF9E31
split-complementary
#31BF57 #9E31BF #BF3152
monochromatic
#185E2B #258E41 #31BF57 #59D47A #8AE1A1

Accessibility & contrast

On white

2.41
#31BF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#31BF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF57
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF57#FFFFFF#000000##000000
##31BF571.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4D
Deuteranopia (green-blind)
#B1A25F
Tritanopia (blue-blind)
#00BBA8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bf57;
/* rgb */ color: rgb(49, 191, 87);
/* oklch */ color: oklch(70.8% 0.187 147.8);
Tailwind
colors: {
  custom: {
    50: '#7ed389',
    500: '#31bf57',
    950: '#000000',
  },
}
SCSS
$custom: #31bf57;
$custom-light: #7ed389;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf57",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 136.056,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70845,
    "c": 0.18709,
    "h": 147.8
  },
  "luminance": 0.38603
}

Semantic roles & 50–950 ramp

primary
#31BF57
secondary
#CB81B7
accent
#45B8E2
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31BF57

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

Preview Lab → · Contrast checker → · Palette generator →

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