#31B572#31B572

#31B572 is a light, vivid green. Relative luminance 0.349; OKLCH L 68.7% C 0.150 H 156.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#31B572
RGBrgb(49, 181, 114)
HSLhsl(150, 57%, 45%)
HSVhsv(150, 73%, 71%)
CMYKcmyk(72.9%, 0%, 37%, 29%)
CIE-LABlab(65.68, -50.64, 24.26)
CIE-LCHlch(65.68, 56.15, 154.40°)
OKLaboklab(68.68% -0.1369 0.0608)
OKLCHoklch(68.68% 0.15 156)
XYZxyz(20.8258, 34.9132, 21.5577)
Luminance0.3492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B572 #B53174
analogous
#32B531 #31B572 #31B5B4
triadic
#31B572 #7231B5 #B57231
tetradic
#31B572 #3132B5 #B53174 #B5B431
square
#31B572 #3132B5 #B53174 #B5B431
split-complementary
#31B572 #B431B5 #B53132
monochromatic
#175535 #248554 #31B572 #53D091 #83DDB0

Accessibility & contrast

On white

2.63
#31B572 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#31B572 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B572
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B572#FFFFFF#000000##000000
##31B5721.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A66E
Deuteranopia (green-blind)
#A49B76
Tritanopia (blue-blind)
#00B3A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b572;
/* rgb */ color: rgb(49, 181, 114);
/* oklch */ color: oklch(68.7% 0.150 156.0);
Tailwind
colors: {
  custom: {
    50: '#7ccc9b',
    500: '#31b572',
    950: '#000000',
  },
}
SCSS
$custom: #31b572;
$custom-light: #7ccc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b572",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 114
  },
  "hsl": {
    "h": 149.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68678,
    "c": 0.14979,
    "h": 156
  },
  "luminance": 0.34916
}

Semantic roles & 50–950 ramp

primary
#31B572
secondary
#C77BA1
accent
#4795E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B572

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

Preview Lab → · Contrast checker → · Palette generator →

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