#31AB3C#31AB3C

#31AB3C is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.184 H 144.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#31AB3C
RGBrgb(49, 171, 60)
HSLhsl(125, 55%, 43%)
HSVhsv(125, 71%, 67%)
CMYKcmyk(71.3%, 0%, 64.9%, 32.9%)
CIE-LABlab(61.74, -55.37, 46.25)
CIE-LCHlch(61.74, 72.15, 140.12°)
OKLaboklab(65.19% -0.1498 0.1075)
OKLCHoklch(65.19% 0.184 144.3)
XYZxyz(16.6441, 30.1032, 9.2074)
Luminance0.3010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB3C #AB31A0
analogous
#63AB31 #31AB3C #31AB79
triadic
#31AB3C #3C31AB #AB3C31
tetradic
#31AB3C #3163AB #AB31A0 #AB7931
square
#31AB3C #3163AB #AB31A0 #AB7931
split-complementary
#31AB3C #7931AB #AB3163
monochromatic
#164C1B #237B2B #31AB3C #4DCC59 #7DDA85

Accessibility & contrast

On white

2.99
#31AB3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#31AB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB3C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB3C#FFFFFF#000000##000000
##31AB3C1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2E
Deuteranopia (green-blind)
#A09146
Tritanopia (blue-blind)
#00A694
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab3c;
/* rgb */ color: rgb(49, 171, 60);
/* oklch */ color: oklch(65.2% 0.184 144.3);
Tailwind
colors: {
  custom: {
    50: '#7bc576',
    500: '#31ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #31ab3c;
$custom-light: #7bc576;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab3c",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 125.41,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65187,
    "c": 0.18437,
    "h": 144.3
  },
  "luminance": 0.30105
}

Semantic roles & 50–950 ramp

primary
#31AB3C
secondary
#C275BB
accent
#49D1DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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