#31BB71#31BB71

#31BB71 is a light, vivid green. Relative luminance 0.374; OKLCH L 70.2% C 0.159 H 154.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#31BB71
RGBrgb(49, 187, 113)
HSLhsl(148, 58%, 46%)
HSVhsv(148, 74%, 73%)
CMYKcmyk(73.8%, 0%, 39.6%, 26.7%)
CIE-LABlab(67.56, -53.12, 27.30)
CIE-LCHlch(67.56, 59.72, 152.80°)
OKLaboklab(70.22% -0.1433 0.068)
OKLCHoklch(70.22% 0.159 154.6)
XYZxyz(22.0155, 37.3833, 21.6750)
Luminance0.3739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB71 #BB317B
analogous
#36BB31 #31BB71 #31BBB6
triadic
#31BB71 #7131BB #BB7131
tetradic
#31BB71 #3136BB #BB317B #BBB631
square
#31BB71 #3136BB #BB317B #BBB631
split-complementary
#31BB71 #B631BB #BB3136
monochromatic
#185A36 #248B54 #31BB71 #56D390 #87E0B0

Accessibility & contrast

On white

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

On black

8.48
#31BB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB71
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB71#FFFFFF#000000##000000
##31BB711.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAC6C
Deuteranopia (green-blind)
#AAA076
Tritanopia (blue-blind)
#00B9A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31bb71;
/* rgb */ color: rgb(49, 187, 113);
/* oklch */ color: oklch(70.2% 0.159 154.6);
Tailwind
colors: {
  custom: {
    50: '#7dd09a',
    500: '#31bb71',
    950: '#000000',
  },
}
SCSS
$custom: #31bb71;
$custom-light: #7dd09a;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb71",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 113
  },
  "hsl": {
    "h": 147.826,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70224,
    "c": 0.15861,
    "h": 154.6
  },
  "luminance": 0.37386
}

Semantic roles & 50–950 ramp

primary
#31BB71
secondary
#C97FA7
accent
#469AE2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31BB71

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

Preview Lab → · Contrast checker → · Palette generator →

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