#31AB5F#31AB5F

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

Color values

HEX#31AB5F
RGBrgb(49, 171, 95)
HSLhsl(143, 55%, 43%)
HSVhsv(143, 71%, 67%)
CMYKcmyk(71.3%, 0%, 44.4%, 32.9%)
CIE-LABlab(62.17, -50.38, 29.71)
CIE-LCHlch(62.17, 58.48, 149.47°)
OKLaboklab(65.68% -0.1357 0.0732)
OKLCHoklch(65.68% 0.154 151.7)
XYZxyz(17.8936, 30.6030, 15.7882)
Luminance0.3060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB5F #AB317D
analogous
#40AB31 #31AB5F #31AB9C
triadic
#31AB5F #5F31AB #AB5F31
tetradic
#31AB5F #3140AB #AB317D #AB9C31
square
#31AB5F #3140AB #AB317D #AB9C31
split-complementary
#31AB5F #9C31AB #AB3140
monochromatic
#164C2A #237B45 #31AB5F #4DCC7D #7DDAA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB5F#FFFFFF#000000##000000
##31AB5F1.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)
#AC9D59
Deuteranopia (green-blind)
#9D9264
Tritanopia (blue-blind)
#00A899
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab5f;
/* rgb */ color: rgb(49, 171, 95);
/* oklch */ color: oklch(65.7% 0.154 151.7);
Tailwind
colors: {
  custom: {
    50: '#7ac58d',
    500: '#31ab5f',
    950: '#000000',
  },
}
SCSS
$custom: #31ab5f;
$custom-light: #7ac58d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab5f",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 95
  },
  "hsl": {
    "h": 142.623,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6568,
    "c": 0.15417,
    "h": 151.7
  },
  "luminance": 0.30605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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