#31B972#31B972

#31B972 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.7% C 0.155 H 155.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#31B972
RGBrgb(49, 185, 114)
HSLhsl(149, 58%, 46%)
HSVhsv(149, 74%, 73%)
CMYKcmyk(73.5%, 0%, 38.4%, 27.5%)
CIE-LABlab(66.95, -52.17, 25.95)
CIE-LCHlch(66.95, 58.27, 153.55°)
OKLaboklab(69.72% -0.1408 0.0649)
OKLCHoklch(69.72% 0.155 155.3)
XYZxyz(21.6508, 36.5633, 21.8327)
Luminance0.3657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B972 #B93178
analogous
#34B931 #31B972 #31B9B6
triadic
#31B972 #7231B9 #B97231
tetradic
#31B972 #3134B9 #B93178 #B9B631
square
#31B972 #3134B9 #B93178 #B9B631
split-complementary
#31B972 #B631B9 #B93134
monochromatic
#175836 #248954 #31B972 #55D291 #86DFB0

Accessibility & contrast

On white

2.53
#31B972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#31B972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B972
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B972#FFFFFF#000000##000000
##31B9721.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6D
Deuteranopia (green-blind)
#A89E77
Tritanopia (blue-blind)
#00B7A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b972;
/* rgb */ color: rgb(49, 185, 114);
/* oklch */ color: oklch(69.7% 0.155 155.3);
Tailwind
colors: {
  custom: {
    50: '#7ccf9b',
    500: '#31b972',
    950: '#000000',
  },
}
SCSS
$custom: #31b972;
$custom-light: #7ccf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b972",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 114
  },
  "hsl": {
    "h": 148.676,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69722,
    "c": 0.15507,
    "h": 155.3
  },
  "luminance": 0.36566
}

Semantic roles & 50–950 ramp

primary
#31B972
secondary
#C87DA5
accent
#4697E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B972

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

Preview Lab → · Contrast checker → · Palette generator →

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