#31AB3A#31AB3A

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

Color values

HEX#31AB3A
RGBrgb(49, 171, 58)
HSLhsl(124, 55%, 43%)
HSVhsv(124, 71%, 67%)
CMYKcmyk(71.3%, 0%, 66.1%, 32.9%)
CIE-LABlab(61.73, -55.58, 47.10)
CIE-LCHlch(61.73, 72.85, 139.72°)
OKLaboklab(65.17% -0.1505 0.1091)
OKLCHoklch(65.17% 0.186 144.1)
XYZxyz(16.5922, 30.0824, 8.9342)
Luminance0.3008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB3A #AB31A2
analogous
#65AB31 #31AB3A #31AB77
triadic
#31AB3A #3A31AB #AB3A31
tetradic
#31AB3A #3165AB #AB31A2 #AB7731
square
#31AB3A #3165AB #AB31A2 #AB7731
split-complementary
#31AB3A #7731AB #AB3165
monochromatic
#164C1A #237B2A #31AB3A #4DCC57 #7DDA84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB3A#FFFFFF#000000##000000
##31AB3A1.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)
#AE9B2C
Deuteranopia (green-blind)
#A09144
Tritanopia (blue-blind)
#00A694
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab3a;
/* rgb */ color: rgb(49, 171, 58);
/* oklch */ color: oklch(65.2% 0.186 144.1);
Tailwind
colors: {
  custom: {
    50: '#7bc575',
    500: '#31ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #31ab3a;
$custom-light: #7bc575;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab3a",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 124.426,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65167,
    "c": 0.18584,
    "h": 144.1
  },
  "luminance": 0.30084
}

Semantic roles & 50–950 ramp

primary
#31AB3A
secondary
#C275BD
accent
#49D4DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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