#31AB60#31AB60

#31AB60 is a light, vivid green. Relative luminance 0.306; OKLCH L 65.7% C 0.153 H 152.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#31AB60
RGBrgb(49, 171, 96)
HSLhsl(143, 55%, 43%)
HSVhsv(143, 71%, 67%)
CMYKcmyk(71.3%, 0%, 43.9%, 32.9%)
CIE-LABlab(62.19, -50.20, 29.20)
CIE-LCHlch(62.19, 58.08, 149.82°)
OKLaboklab(65.7% -0.1352 0.0721)
OKLCHoklch(65.7% 0.153 152)
XYZxyz(17.9393, 30.6213, 16.0291)
Luminance0.3062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB60 #AB317C
analogous
#3FAB31 #31AB60 #31AB9D
triadic
#31AB60 #6031AB #AB6031
tetradic
#31AB60 #313FAB #AB317C #AB9D31
square
#31AB60 #313FAB #AB317C #AB9D31
split-complementary
#31AB60 #9D31AB #AB313F
monochromatic
#164C2B #237B45 #31AB60 #4DCC7E #7DDAA1

Accessibility & contrast

On white

2.95
#31AB60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#31AB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB60
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB60#FFFFFF#000000##000000
##31AB601.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5A
Deuteranopia (green-blind)
#9D9265
Tritanopia (blue-blind)
#00A899
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab60;
/* rgb */ color: rgb(49, 171, 96);
/* oklch */ color: oklch(65.7% 0.153 152.0);
Tailwind
colors: {
  custom: {
    50: '#7ac58e',
    500: '#31ab60',
    950: '#000000',
  },
}
SCSS
$custom: #31ab60;
$custom-light: #7ac58e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab60",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 96
  },
  "hsl": {
    "h": 143.115,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65698,
    "c": 0.15324,
    "h": 152
  },
  "luminance": 0.30623
}

Semantic roles & 50–950 ramp

primary
#31AB60
secondary
#C275A5
accent
#49A5DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AB60

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

Preview Lab → · Contrast checker → · Palette generator →

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