#31BC72#31BC72

#31BC72 is a light, vivid green. Relative luminance 0.378; OKLCH L 70.5% C 0.159 H 154.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#31BC72
RGBrgb(49, 188, 114)
HSLhsl(148, 59%, 46%)
HSVhsv(148, 74%, 74%)
CMYKcmyk(73.9%, 0%, 39.4%, 26.3%)
CIE-LABlab(67.90, -53.31, 27.21)
CIE-LCHlch(67.90, 59.85, 152.96°)
OKLaboklab(70.5% -0.1438 0.0678)
OKLCHoklch(70.5% 0.159 154.7)
XYZxyz(22.2850, 37.8317, 22.0441)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC72 #BC317B
analogous
#35BC31 #31BC72 #31BCB8
triadic
#31BC72 #7231BC #BC7231
tetradic
#31BC72 #3135BC #BC317B #BCB831
square
#31BC72 #3135BC #BC317B #BCB831
split-complementary
#31BC72 #B831BC #BC3135
monochromatic
#185B37 #248B55 #31BC72 #57D391 #88E0B1

Accessibility & contrast

On white

2.45
#31BC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#31BC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BC72
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BC72#FFFFFF#000000##000000
##31BC721.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAD6D
Deuteranopia (green-blind)
#ABA177
Tritanopia (blue-blind)
#00BAA9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31bc72;
/* rgb */ color: rgb(49, 188, 114);
/* oklch */ color: oklch(70.5% 0.159 154.7);
Tailwind
colors: {
  custom: {
    50: '#7dd19b',
    500: '#31bc72',
    950: '#000000',
  },
}
SCSS
$custom: #31bc72;
$custom-light: #7dd19b;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc72",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 114
  },
  "hsl": {
    "h": 148.058,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70504,
    "c": 0.15899,
    "h": 154.7
  },
  "luminance": 0.37834
}

Semantic roles & 50–950 ramp

primary
#31BC72
secondary
#CA7FA7
accent
#4699E2
background
#F8FDF9
surface
#EFFAF2
border
#CAD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31BC72

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

Preview Lab → · Contrast checker → · Palette generator →

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