#31B571#31B571

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

Color values

HEX#31B571
RGBrgb(49, 181, 113)
HSLhsl(149, 57%, 45%)
HSVhsv(149, 73%, 71%)
CMYKcmyk(72.9%, 0%, 37.6%, 29%)
CIE-LABlab(65.66, -50.84, 24.77)
CIE-LCHlch(65.66, 56.55, 154.02°)
OKLaboklab(68.66% -0.1374 0.062)
OKLCHoklch(68.66% 0.151 155.7)
XYZxyz(20.7692, 34.8906, 21.2595)
Luminance0.3489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B571 #B53175
analogous
#33B531 #31B571 #31B5B3
triadic
#31B571 #7131B5 #B57131
tetradic
#31B571 #3133B5 #B53175 #B5B331
square
#31B571 #3133B5 #B53175 #B5B331
split-complementary
#31B571 #B331B5 #B53133
monochromatic
#175535 #248553 #31B571 #53D090 #83DDAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B571#FFFFFF#000000##000000
##31B5711.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)
#B4A66C
Deuteranopia (green-blind)
#A49B75
Tritanopia (blue-blind)
#00B3A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b571;
/* rgb */ color: rgb(49, 181, 113);
/* oklch */ color: oklch(68.7% 0.151 155.7);
Tailwind
colors: {
  custom: {
    50: '#7ccc9a',
    500: '#31b571',
    950: '#000000',
  },
}
SCSS
$custom: #31b571;
$custom-light: #7ccc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b571",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 113
  },
  "hsl": {
    "h": 149.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68658,
    "c": 0.15071,
    "h": 155.7
  },
  "luminance": 0.34893
}

Semantic roles & 50–950 ramp

primary
#31B571
secondary
#C77BA2
accent
#4796E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B571

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

Preview Lab → · Contrast checker → · Palette generator →

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