#31B170#31B170

#31B170 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.6% C 0.146 H 156.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#31B170
RGBrgb(49, 177, 112)
HSLhsl(150, 57%, 44%)
HSVhsv(150, 72%, 69%)
CMYKcmyk(72.3%, 0%, 36.7%, 30.6%)
CIE-LABlab(64.37, -49.49, 23.58)
CIE-LCHlch(64.37, 54.82, 154.52°)
OKLaboklab(67.59% -0.1338 0.0592)
OKLCHoklch(67.59% 0.146 156.2)
XYZxyz(19.9115, 33.2648, 20.6975)
Luminance0.3327 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B170 #B13172
analogous
#32B131 #31B170 #31B1B0
triadic
#31B170 #7031B1 #B17031
tetradic
#31B170 #3132B1 #B13172 #B1B031
square
#31B170 #3132B1 #B13172 #B1B031
split-complementary
#31B170 #B031B1 #B13132
monochromatic
#165133 #248152 #31B170 #51CF8F #80DCAD

Accessibility & contrast

On white

2.74
#31B170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#31B170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B170
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B170#FFFFFF#000000##000000
##31B1701.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36C
Deuteranopia (green-blind)
#A09874
Tritanopia (blue-blind)
#00AFA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b170;
/* rgb */ color: rgb(49, 177, 112);
/* oklch */ color: oklch(67.6% 0.146 156.2);
Tailwind
colors: {
  custom: {
    50: '#7bc999',
    500: '#31b170',
    950: '#000000',
  },
}
SCSS
$custom: #31b170;
$custom-light: #7bc999;
$custom-dark: #000000;
JSON
{
  "hex": "#31b170",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 112
  },
  "hsl": {
    "h": 149.531,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6759,
    "c": 0.14633,
    "h": 156.2
  },
  "luminance": 0.33267
}

Semantic roles & 50–950 ramp

primary
#31B170
secondary
#C5799F
accent
#4895E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B170

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

Preview Lab → · Contrast checker → · Palette generator →

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