#31AB4C#31AB4C

#31AB4C is a light, vivid green. Relative luminance 0.303; OKLCH L 65.4% C 0.171 H 147.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#31AB4C
RGBrgb(49, 171, 76)
HSLhsl(133, 55%, 43%)
HSVhsv(133, 71%, 67%)
CMYKcmyk(71.3%, 0%, 55.6%, 32.9%)
CIE-LABlab(61.91, -53.38, 39.03)
CIE-LCHlch(61.91, 66.12, 143.83°)
OKLaboklab(65.38% -0.1438 0.0933)
OKLCHoklch(65.38% 0.171 147)
XYZxyz(17.1328, 30.2987, 11.7814)
Luminance0.3030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB4C #AB3190
analogous
#53AB31 #31AB4C #31AB89
triadic
#31AB4C #4C31AB #AB4C31
tetradic
#31AB4C #3153AB #AB3190 #AB8931
square
#31AB4C #3153AB #AB3190 #AB8931
split-complementary
#31AB4C #8931AB #AB3153
monochromatic
#164C22 #237B37 #31AB4C #4DCC69 #7DDA91

Accessibility & contrast

On white

2.97
#31AB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#31AB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB4C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB4C#FFFFFF#000000##000000
##31AB4C1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C43
Deuteranopia (green-blind)
#9F9253
Tritanopia (blue-blind)
#00A796
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab4c;
/* rgb */ color: rgb(49, 171, 76);
/* oklch */ color: oklch(65.4% 0.171 147.0);
Tailwind
colors: {
  custom: {
    50: '#7ac580',
    500: '#31ab4c',
    950: '#000000',
  },
}
SCSS
$custom: #31ab4c;
$custom-light: #7ac580;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab4c",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 76
  },
  "hsl": {
    "h": 133.279,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6538,
    "c": 0.17144,
    "h": 147
  },
  "luminance": 0.30301
}

Semantic roles & 50–950 ramp

primary
#31AB4C
secondary
#C275B1
accent
#49BEDF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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