#31B370#31B370

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

Color values

HEX#31B370
RGBrgb(49, 179, 112)
HSLhsl(149, 57%, 45%)
HSVhsv(149, 73%, 70%)
CMYKcmyk(72.6%, 0%, 37.4%, 29.8%)
CIE-LABlab(65.01, -50.26, 24.43)
CIE-LCHlch(65.01, 55.89, 154.08°)
OKLaboklab(68.11% -0.1358 0.0612)
OKLCHoklch(68.11% 0.149 155.8)
XYZxyz(20.3094, 34.0607, 20.8301)
Luminance0.3406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B370 #B33174
analogous
#33B331 #31B370 #31B3B1
triadic
#31B370 #7031B3 #B37031
tetradic
#31B370 #3133B3 #B33174 #B3B131
square
#31B370 #3133B3 #B33174 #B3B131
split-complementary
#31B370 #B131B3 #B33133
monochromatic
#175334 #248352 #31B370 #52D08F #82DDAE

Accessibility & contrast

On white

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

On black

7.81
#31B370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B370
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B370#FFFFFF#000000##000000
##31B3701.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b370;
/* rgb */ color: rgb(49, 179, 112);
/* oklch */ color: oklch(68.1% 0.149 155.8);
Tailwind
colors: {
  custom: {
    50: '#7bcb99',
    500: '#31b370',
    950: '#000000',
  },
}
SCSS
$custom: #31b370;
$custom-light: #7bcb99;
$custom-dark: #000000;
JSON
{
  "hex": "#31b370",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 112
  },
  "hsl": {
    "h": 149.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.14899,
    "h": 155.8
  },
  "luminance": 0.34063
}

Semantic roles & 50–950 ramp

primary
#31B370
secondary
#C67AA1
accent
#4896E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B370

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

Preview Lab → · Contrast checker → · Palette generator →

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