#31A520#31A520

#31A520 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.3% C 0.195 H 141.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#31A520
RGBrgb(49, 165, 32)
HSLhsl(112, 68%, 39%)
HSVhsv(112, 81%, 65%)
CMYKcmyk(70.3%, 0%, 80.6%, 35.3%)
CIE-LABlab(59.59, -55.71, 54.57)
CIE-LCHlch(59.59, 77.98, 135.59°)
OKLaboklab(63.33% -0.1521 0.1214)
OKLCHoklch(63.33% 0.195 141.4)
XYZxyz(14.9817, 27.6659, 5.9167)
Luminance0.2767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A520 #9420A5
analogous
#73A520 #31A520 #20A551
triadic
#31A520 #2031A5 #A52031
tetradic
#31A520 #2073A5 #9420A5 #A55120
square
#31A520 #2073A5 #9420A5 #A55120
split-complementary
#31A520 #5120A5 #A52073
monochromatic
#133E0C #227216 #31A520 #42D62C #70E05F

Accessibility & contrast

On white

3.21
#31A520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#31A520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A520
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A520#FFFFFF#000000##000000
##31A5201.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#14A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a520;
/* rgb */ color: rgb(49, 165, 32);
/* oklch */ color: oklch(63.3% 0.195 141.4);
Tailwind
colors: {
  custom: {
    50: '#7bc167',
    500: '#31a520',
    950: '#000000',
  },
}
SCSS
$custom: #31a520;
$custom-light: #7bc167;
$custom-dark: #000000;
JSON
{
  "hex": "#31a520",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 112.331,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.19457,
    "h": 141.4
  },
  "luminance": 0.27668
}

Semantic roles & 50–950 ramp

primary
#31A520
secondary
#B75CC5
accent
#3DEAD4
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A520

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

Preview Lab → · Contrast checker → · Palette generator →

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