#31A563#31A563

#31A563 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.2% C 0.142 H 153.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#31A563
RGBrgb(49, 165, 99)
HSLhsl(146, 54%, 42%)
HSVhsv(146, 70%, 65%)
CMYKcmyk(70.3%, 0%, 40%, 35.3%)
CIE-LABlab(60.30, -47.34, 25.14)
CIE-LCHlch(60.30, 53.60, 152.02°)
OKLaboklab(64.16% -0.1278 0.0626)
OKLCHoklch(64.16% 0.142 153.9)
XYZxyz(16.9724, 28.4622, 16.4012)
Luminance0.2846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A563 #A53173
analogous
#39A531 #31A563 #31A59D
triadic
#31A563 #6331A5 #A56331
tetradic
#31A563 #3139A5 #A53173 #A59D31
square
#31A563 #3139A5 #A53173 #A59D31
split-complementary
#31A563 #9D31A5 #A53139
monochromatic
#15472A #237647 #31A563 #4AC981 #79D7A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A563#FFFFFF#000000##000000
##31A5631.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)
#A5985E
Deuteranopia (green-blind)
#968D67
Tritanopia (blue-blind)
#00A394
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a563;
/* rgb */ color: rgb(49, 165, 99);
/* oklch */ color: oklch(64.2% 0.142 153.9);
Tailwind
colors: {
  custom: {
    50: '#78c190',
    500: '#31a563',
    950: '#000000',
  },
}
SCSS
$custom: #31a563;
$custom-light: #78c190;
$custom-dark: #000000;
JSON
{
  "hex": "#31a563",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 99
  },
  "hsl": {
    "h": 145.862,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64162,
    "c": 0.1423,
    "h": 153.9
  },
  "luminance": 0.28464
}

Semantic roles & 50–950 ramp

primary
#31A563
secondary
#C0729E
accent
#4A9EDE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A563

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

Preview Lab → · Contrast checker → · Palette generator →

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