#31AB2A#31AB2A

#31AB2A is a light, vivid green. Relative luminance 0.299; OKLCH L 65.0% C 0.196 H 142.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#31AB2A
RGBrgb(49, 171, 42)
HSLhsl(117, 61%, 42%)
HSVhsv(117, 75%, 67%)
CMYKcmyk(71.3%, 0%, 75.4%, 32.9%)
CIE-LABlab(61.61, -57.02, 53.25)
CIE-LCHlch(61.61, 78.02, 136.96°)
OKLaboklab(65.03% -0.1551 0.12)
OKLCHoklch(65.03% 0.196 142.3)
XYZxyz(16.2465, 29.9442, 7.1136)
Luminance0.2995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB2A #A42AAB
analogous
#72AB2A #31AB2A #2AAB64
triadic
#31AB2A #2A31AB #AB2A31
tetradic
#31AB2A #2A72AB #A42AAB #AB642A
square
#31AB2A #2A72AB #A42AAB #AB642A
split-complementary
#31AB2A #642AAB #AB2A72
monochromatic
#154912 #237A1E #31AB2A #49D142 #79DD73

Accessibility & contrast

On white

3.00
#31AB2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#31AB2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AB2A
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB2A#FFFFFF#000000##000000
##31AB2A1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B0F
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#0AA692
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab2a;
/* rgb */ color: rgb(49, 171, 42);
/* oklch */ color: oklch(65.0% 0.196 142.3);
Tailwind
colors: {
  custom: {
    50: '#7cc56d',
    500: '#31ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #31ab2a;
$custom-light: #7cc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab2a",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 116.744,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65029,
    "c": 0.19614,
    "h": 142.3
  },
  "luminance": 0.29946
}

Semantic roles & 50–950 ramp

primary
#31AB2A
secondary
#BF6DC4
accent
#44E4DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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