#31BA72#31BA72

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

Color values

HEX#31BA72
RGBrgb(49, 186, 114)
HSLhsl(148, 58%, 46%)
HSVhsv(148, 74%, 73%)
CMYKcmyk(73.7%, 0%, 38.7%, 27.1%)
CIE-LABlab(67.26, -52.55, 26.37)
CIE-LCHlch(67.26, 58.80, 153.35°)
OKLaboklab(69.98% -0.1418 0.0659)
OKLCHoklch(69.98% 0.156 155.1)
XYZxyz(21.8607, 36.9831, 21.9027)
Luminance0.3699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA72 #BA3179
analogous
#34BA31 #31BA72 #31BAB6
triadic
#31BA72 #7231BA #BA7231
tetradic
#31BA72 #3134BA #BA3179 #BAB631
square
#31BA72 #3134BA #BA3179 #BAB631
split-complementary
#31BA72 #B631BA #BA3134
monochromatic
#175937 #248A54 #31BA72 #56D291 #86DFB0

Accessibility & contrast

On white

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

On black

8.40
#31BA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA72
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA72#FFFFFF#000000##000000
##31BA721.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ba72;
/* rgb */ color: rgb(49, 186, 114);
/* oklch */ color: oklch(70.0% 0.156 155.1);
Tailwind
colors: {
  custom: {
    50: '#7dd09b',
    500: '#31ba72',
    950: '#000000',
  },
}
SCSS
$custom: #31ba72;
$custom-light: #7dd09b;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba72",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 114
  },
  "hsl": {
    "h": 148.467,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69983,
    "c": 0.15638,
    "h": 155.1
  },
  "luminance": 0.36986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31BA72

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

Preview Lab → · Contrast checker → · Palette generator →

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