#31BC59#31BC59

#31BC59 is a light, vivid green. Relative luminance 0.373; OKLCH L 70.1% C 0.182 H 148.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#31BC59
RGBrgb(49, 188, 89)
HSLhsl(137, 59%, 46%)
HSVhsv(137, 74%, 74%)
CMYKcmyk(73.9%, 0%, 52.7%, 26.3%)
CIE-LABlab(67.53, -57.53, 39.48)
CIE-LCHlch(67.53, 69.77, 145.54°)
OKLaboklab(70.08% -0.1547 0.0951)
OKLCHoklch(70.08% 0.182 148.4)
XYZxyz(21.0514, 37.3382, 15.5468)
Luminance0.3734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC59 #BC3194
analogous
#4FBC31 #31BC59 #31BC9F
triadic
#31BC59 #5931BC #BC5931
tetradic
#31BC59 #314FBC #BC3194 #BC9F31
square
#31BC59 #314FBC #BC3194 #BC9F31
split-complementary
#31BC59 #9F31BC #BC314F
monochromatic
#185B2B #248B42 #31BC59 #57D37B #88E0A1

Accessibility & contrast

On white

2.48
#31BC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#31BC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BC59
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BC59#FFFFFF#000000##000000
##31BC591.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB50
Deuteranopia (green-blind)
#AEA060
Tritanopia (blue-blind)
#00B8A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31bc59;
/* rgb */ color: rgb(49, 188, 89);
/* oklch */ color: oklch(70.1% 0.182 148.4);
Tailwind
colors: {
  custom: {
    50: '#7ed18a',
    500: '#31bc59',
    950: '#000000',
  },
}
SCSS
$custom: #31bc59;
$custom-light: #7ed18a;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc59",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 89
  },
  "hsl": {
    "h": 137.266,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70082,
    "c": 0.18163,
    "h": 148.4
  },
  "luminance": 0.37341
}

Semantic roles & 50–950 ramp

primary
#31BC59
secondary
#CA7FB4
accent
#46B5E2
background
#F8FDF8
surface
#EFFAF0
border
#CAD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31BC59

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

Preview Lab → · Contrast checker → · Palette generator →

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