#31A620#31A620

#31A620 is a light, vivid green. Relative luminance 0.280; OKLCH L 63.6% C 0.196 H 141.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31A620
RGBrgb(49, 166, 32)
HSLhsl(112, 68%, 39%)
HSVhsv(112, 81%, 65%)
CMYKcmyk(70.5%, 0%, 80.7%, 34.9%)
CIE-LABlab(59.91, -56.04, 54.88)
CIE-LCHlch(59.91, 78.43, 135.60°)
OKLaboklab(63.61% -0.153 0.122)
OKLCHoklch(63.61% 0.196 141.4)
XYZxyz(15.1627, 28.0281, 5.9771)
Luminance0.2803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A620 #9520A6
analogous
#74A620 #31A620 #20A652
triadic
#31A620 #2031A6 #A62031
tetradic
#31A620 #2074A6 #9520A6 #A65220
square
#31A620 #2074A6 #9520A6 #A65220
split-complementary
#31A620 #5220A6 #A62074
monochromatic
#133F0C #227316 #31A620 #42D62D #70E060

Accessibility & contrast

On white

3.18
#31A620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#31A620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A620
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A620#FFFFFF#000000##000000
##31A6201.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#13A18D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a620;
/* rgb */ color: rgb(49, 166, 32);
/* oklch */ color: oklch(63.6% 0.196 141.4);
Tailwind
colors: {
  custom: {
    50: '#7bc167',
    500: '#31a620',
    950: '#000000',
  },
}
SCSS
$custom: #31a620;
$custom-light: #7bc167;
$custom-dark: #000000;
JSON
{
  "hex": "#31a620",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 112.388,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63607,
    "c": 0.19566,
    "h": 141.4
  },
  "luminance": 0.2803
}

Semantic roles & 50–950 ramp

primary
#31A620
secondary
#B85DC5
accent
#3DEBD5
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A620

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

Preview Lab → · Contrast checker → · Palette generator →

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