#31B371#31B371

#31B371 is a light, vivid green. Relative luminance 0.341; OKLCH L 68.1% C 0.148 H 156.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#31B371
RGBrgb(49, 179, 113)
HSLhsl(150, 57%, 45%)
HSVhsv(150, 73%, 70%)
CMYKcmyk(72.6%, 0%, 36.9%, 29.8%)
CIE-LABlab(65.03, -50.07, 23.92)
CIE-LCHlch(65.03, 55.49, 154.46°)
OKLaboklab(68.13% -0.1354 0.06)
OKLCHoklch(68.13% 0.148 156.1)
XYZxyz(20.3654, 34.0831, 21.1250)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B371 #B33173
analogous
#32B331 #31B371 #31B3B2
triadic
#31B371 #7131B3 #B37131
tetradic
#31B371 #3132B3 #B33173 #B3B231
square
#31B371 #3132B3 #B33173 #B3B231
split-complementary
#31B371 #B231B3 #B33132
monochromatic
#175334 #248353 #31B371 #52D090 #82DDAE

Accessibility & contrast

On white

2.69
#31B371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#31B371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B371
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B371#FFFFFF#000000##000000
##31B3711.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56D
Deuteranopia (green-blind)
#A29975
Tritanopia (blue-blind)
#00B1A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b371;
/* rgb */ color: rgb(49, 179, 113);
/* oklch */ color: oklch(68.1% 0.148 156.1);
Tailwind
colors: {
  custom: {
    50: '#7bcb9a',
    500: '#31b371',
    950: '#000000',
  },
}
SCSS
$custom: #31b371;
$custom-light: #7bcb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b371",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 113
  },
  "hsl": {
    "h": 149.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68134,
    "c": 0.14806,
    "h": 156.1
  },
  "luminance": 0.34085
}

Semantic roles & 50–950 ramp

primary
#31B371
secondary
#C67AA0
accent
#4895E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B371

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

Preview Lab → · Contrast checker → · Palette generator →

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