#31A560#31A560

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

Color values

HEX#31A560
RGBrgb(49, 165, 96)
HSLhsl(144, 54%, 42%)
HSVhsv(144, 70%, 65%)
CMYKcmyk(70.3%, 0%, 41.8%, 35.3%)
CIE-LABlab(60.25, -47.90, 26.69)
CIE-LCHlch(60.25, 54.83, 150.88°)
OKLaboklab(64.1% -0.1292 0.0662)
OKLCHoklch(64.1% 0.145 152.9)
XYZxyz(16.8316, 28.4059, 15.6599)
Luminance0.2841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A560 #A53176
analogous
#3CA531 #31A560 #31A59A
triadic
#31A560 #6031A5 #A56031
tetradic
#31A560 #313CA5 #A53176 #A59A31
square
#31A560 #313CA5 #A53176 #A59A31
split-complementary
#31A560 #9A31A5 #A5313C
monochromatic
#154729 #237645 #31A560 #4AC97E #79D79F

Accessibility & contrast

On white

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

On black

6.68
#31A560 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A560
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A560#FFFFFF#000000##000000
##31A5601.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a560;
/* rgb */ color: rgb(49, 165, 96);
/* oklch */ color: oklch(64.1% 0.145 152.9);
Tailwind
colors: {
  custom: {
    50: '#78c18e',
    500: '#31a560',
    950: '#000000',
  },
}
SCSS
$custom: #31a560;
$custom-light: #78c18e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a560",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 96
  },
  "hsl": {
    "h": 144.31,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64104,
    "c": 0.14515,
    "h": 152.9
  },
  "luminance": 0.28408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A560

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

Preview Lab → · Contrast checker → · Palette generator →

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