#31A561#31A561

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

Color values

HEX#31A561
RGBrgb(49, 165, 97)
HSLhsl(145, 54%, 42%)
HSVhsv(145, 70%, 65%)
CMYKcmyk(70.3%, 0%, 41.2%, 35.3%)
CIE-LABlab(60.27, -47.71, 26.17)
CIE-LCHlch(60.27, 54.42, 151.25°)
OKLaboklab(64.12% -0.1287 0.065)
OKLCHoklch(64.12% 0.144 153.2)
XYZxyz(16.8780, 28.4244, 15.9039)
Luminance0.2843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A561 #A53175
analogous
#3BA531 #31A561 #31A59B
triadic
#31A561 #6131A5 #A56131
tetradic
#31A561 #313BA5 #A53175 #A59B31
square
#31A561 #313BA5 #A53175 #A59B31
split-complementary
#31A561 #9B31A5 #A5313B
monochromatic
#15472A #237645 #31A561 #4AC97F #79D7A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A561#FFFFFF#000000##000000
##31A5611.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)
#A5975C
Deuteranopia (green-blind)
#978D66
Tritanopia (blue-blind)
#00A394
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a561;
/* rgb */ color: rgb(49, 165, 97);
/* oklch */ color: oklch(64.1% 0.144 153.2);
Tailwind
colors: {
  custom: {
    50: '#78c18e',
    500: '#31a561',
    950: '#000000',
  },
}
SCSS
$custom: #31a561;
$custom-light: #78c18e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a561",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 97
  },
  "hsl": {
    "h": 144.828,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64123,
    "c": 0.1442,
    "h": 153.2
  },
  "luminance": 0.28426
}

Semantic roles & 50–950 ramp

primary
#31A561
secondary
#C072A0
accent
#4AA1DE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A561

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

Preview Lab → · Contrast checker → · Palette generator →

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