#31AB5D#31AB5D

#31AB5D is a light, vivid green. Relative luminance 0.306; OKLCH L 65.6% C 0.156 H 151.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#31AB5D
RGBrgb(49, 171, 93)
HSLhsl(142, 55%, 43%)
HSVhsv(142, 71%, 67%)
CMYKcmyk(71.3%, 0%, 45.6%, 32.9%)
CIE-LABlab(62.14, -50.73, 30.71)
CIE-LCHlch(62.14, 59.30, 148.81°)
OKLaboklab(65.65% -0.1366 0.0755)
OKLCHoklch(65.65% 0.156 151.1)
XYZxyz(17.8038, 30.5671, 15.3155)
Luminance0.3057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB5D #AB317F
analogous
#42AB31 #31AB5D #31AB9A
triadic
#31AB5D #5D31AB #AB5D31
tetradic
#31AB5D #3142AB #AB317F #AB9A31
square
#31AB5D #3142AB #AB317F #AB9A31
split-complementary
#31AB5D #9A31AB #AB3142
monochromatic
#164C29 #237B43 #31AB5D #4DCC7B #7DDA9E

Accessibility & contrast

On white

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

On black

7.11
#31AB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB5D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB5D#FFFFFF#000000##000000
##31AB5D1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C57
Deuteranopia (green-blind)
#9D9262
Tritanopia (blue-blind)
#00A898
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab5d;
/* rgb */ color: rgb(49, 171, 93);
/* oklch */ color: oklch(65.6% 0.156 151.1);
Tailwind
colors: {
  custom: {
    50: '#7ac58c',
    500: '#31ab5d',
    950: '#000000',
  },
}
SCSS
$custom: #31ab5d;
$custom-light: #7ac58c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab5d",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 93
  },
  "hsl": {
    "h": 141.639,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65645,
    "c": 0.15604,
    "h": 151.1
  },
  "luminance": 0.30569
}

Semantic roles & 50–950 ramp

primary
#31AB5D
secondary
#C275A7
accent
#49A9DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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