#31BB72#31BB72

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

Color values

HEX#31BB72
RGBrgb(49, 187, 114)
HSLhsl(148, 58%, 46%)
HSVhsv(148, 74%, 73%)
CMYKcmyk(73.8%, 0%, 39%, 26.7%)
CIE-LABlab(67.58, -52.93, 26.79)
CIE-LCHlch(67.58, 59.33, 153.15°)
OKLaboklab(70.24% -0.1428 0.0669)
OKLCHoklch(70.24% 0.158 154.9)
XYZxyz(22.0721, 37.4059, 21.9731)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB72 #BB317A
analogous
#35BB31 #31BB72 #31BBB7
triadic
#31BB72 #7231BB #BB7231
tetradic
#31BB72 #3135BB #BB317A #BBB731
square
#31BB72 #3135BB #BB317A #BBB731
split-complementary
#31BB72 #B731BB #BB3135
monochromatic
#185A37 #248B54 #31BB72 #56D391 #87E0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BB72#FFFFFF#000000##000000
##31BB721.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)
#BAAC6D
Deuteranopia (green-blind)
#AAA077
Tritanopia (blue-blind)
#00B9A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31bb72;
/* rgb */ color: rgb(49, 187, 114);
/* oklch */ color: oklch(70.2% 0.158 154.9);
Tailwind
colors: {
  custom: {
    50: '#7dd09b',
    500: '#31bb72',
    950: '#000000',
  },
}
SCSS
$custom: #31bb72;
$custom-light: #7dd09b;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb72",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 114
  },
  "hsl": {
    "h": 148.261,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70244,
    "c": 0.15769,
    "h": 154.9
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

primary
#31BB72
secondary
#C97FA6
accent
#4698E2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31BB72

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

Preview Lab → · Contrast checker → · Palette generator →

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