#31A562#31A562

#31A562 is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.143 H 153.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#31A562
RGBrgb(49, 165, 98)
HSLhsl(145, 54%, 42%)
HSVhsv(145, 70%, 65%)
CMYKcmyk(70.3%, 0%, 40.6%, 35.3%)
CIE-LABlab(60.29, -47.53, 25.66)
CIE-LCHlch(60.29, 54.01, 151.64°)
OKLaboklab(64.14% -0.1282 0.0638)
OKLCHoklch(64.14% 0.143 153.5)
XYZxyz(16.9249, 28.4432, 16.1510)
Luminance0.2844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A562 #A53174
analogous
#3AA531 #31A562 #31A59C
triadic
#31A562 #6231A5 #A56231
tetradic
#31A562 #313AA5 #A53174 #A59C31
square
#31A562 #313AA5 #A53174 #A59C31
split-complementary
#31A562 #9C31A5 #A5313A
monochromatic
#15472A #237646 #31A562 #4AC980 #79D7A1

Accessibility & contrast

On white

3.14
#31A562 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#31A562 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A562
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A562#FFFFFF#000000##000000
##31A5621.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5975D
Deuteranopia (green-blind)
#978D66
Tritanopia (blue-blind)
#00A394
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a562;
/* rgb */ color: rgb(49, 165, 98);
/* oklch */ color: oklch(64.1% 0.143 153.5);
Tailwind
colors: {
  custom: {
    50: '#78c18f',
    500: '#31a562',
    950: '#000000',
  },
}
SCSS
$custom: #31a562;
$custom-light: #78c18f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a562",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 145.345,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64142,
    "c": 0.14325,
    "h": 153.5
  },
  "luminance": 0.28445
}

Semantic roles & 50–950 ramp

primary
#31A562
secondary
#C0729F
accent
#4A9FDE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A562

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

Preview Lab → · Contrast checker → · Palette generator →

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