#31BA71#31BA71

#31BA71 is a light, vivid green. Relative luminance 0.370; OKLCH L 70.0% C 0.157 H 154.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#31BA71
RGBrgb(49, 186, 113)
HSLhsl(148, 58%, 46%)
HSVhsv(148, 74%, 73%)
CMYKcmyk(73.7%, 0%, 39.2%, 27.1%)
CIE-LABlab(67.25, -52.74, 26.88)
CIE-LCHlch(67.25, 59.20, 153.00°)
OKLaboklab(69.96% -0.1423 0.067)
OKLCHoklch(69.96% 0.157 154.8)
XYZxyz(21.8041, 36.9605, 21.6045)
Luminance0.3696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA71 #BA317A
analogous
#35BA31 #31BA71 #31BAB5
triadic
#31BA71 #7131BA #BA7131
tetradic
#31BA71 #3135BA #BA317A #BAB531
square
#31BA71 #3135BA #BA317A #BAB531
split-complementary
#31BA71 #B531BA #BA3135
monochromatic
#175936 #248A54 #31BA71 #56D290 #86DFB0

Accessibility & contrast

On white

2.50
#31BA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#31BA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA71
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA71#FFFFFF#000000##000000
##31BA711.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB6C
Deuteranopia (green-blind)
#A99F76
Tritanopia (blue-blind)
#00B8A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31ba71;
/* rgb */ color: rgb(49, 186, 113);
/* oklch */ color: oklch(70.0% 0.157 154.8);
Tailwind
colors: {
  custom: {
    50: '#7dd09a',
    500: '#31ba71',
    950: '#000000',
  },
}
SCSS
$custom: #31ba71;
$custom-light: #7dd09a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba71",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 113
  },
  "hsl": {
    "h": 148.029,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69964,
    "c": 0.1573,
    "h": 154.8
  },
  "luminance": 0.36963
}

Semantic roles & 50–950 ramp

primary
#31BA71
secondary
#C97EA6
accent
#4699E2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31BA71

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

Preview Lab → · Contrast checker → · Palette generator →

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