#31AB5C#31AB5C

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

Color values

HEX#31AB5C
RGBrgb(49, 171, 92)
HSLhsl(141, 55%, 43%)
HSVhsv(141, 71%, 67%)
CMYKcmyk(71.3%, 0%, 46.2%, 32.9%)
CIE-LABlab(62.13, -50.90, 31.21)
CIE-LCHlch(62.13, 59.71, 148.48°)
OKLaboklab(65.63% -0.137 0.0766)
OKLCHoklch(65.63% 0.157 150.8)
XYZxyz(17.7598, 30.5495, 15.0838)
Luminance0.3055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB5C #AB3180
analogous
#43AB31 #31AB5C #31AB99
triadic
#31AB5C #5C31AB #AB5C31
tetradic
#31AB5C #3143AB #AB3180 #AB9931
square
#31AB5C #3143AB #AB3180 #AB9931
split-complementary
#31AB5C #9931AB #AB3143
monochromatic
#164C29 #237B42 #31AB5C #4DCC7A #7DDA9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB5C#FFFFFF#000000##000000
##31AB5C1.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)
#AC9C56
Deuteranopia (green-blind)
#9D9261
Tritanopia (blue-blind)
#00A898
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab5c;
/* rgb */ color: rgb(49, 171, 92);
/* oklch */ color: oklch(65.6% 0.157 150.8);
Tailwind
colors: {
  custom: {
    50: '#7ac58b',
    500: '#31ab5c',
    950: '#000000',
  },
}
SCSS
$custom: #31ab5c;
$custom-light: #7ac58b;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab5c",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 92
  },
  "hsl": {
    "h": 141.148,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65627,
    "c": 0.15698,
    "h": 150.8
  },
  "luminance": 0.30551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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