#31A56A#31A56A

#31A56A is a light, vivid green. Relative luminance 0.286; OKLCH L 64.3% C 0.136 H 156.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#31A56A
RGBrgb(49, 165, 106)
HSLhsl(149, 54%, 42%)
HSVhsv(149, 70%, 65%)
CMYKcmyk(70.3%, 0%, 35.8%, 35.3%)
CIE-LABlab(60.43, -45.96, 21.52)
CIE-LCHlch(60.43, 50.74, 154.91°)
OKLaboklab(64.31% -0.1245 0.0541)
OKLCHoklch(64.31% 0.136 156.5)
XYZxyz(17.3216, 28.6019, 18.2407)
Luminance0.2860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A56A #A5316C
analogous
#32A531 #31A56A #31A5A4
triadic
#31A56A #6A31A5 #A56A31
tetradic
#31A56A #3132A5 #A5316C #A5A431
square
#31A56A #3132A5 #A5316C #A5A431
split-complementary
#31A56A #A431A5 #A53132
monochromatic
#15472D #23764C #31A56A #4AC989 #79D7A7

Accessibility & contrast

On white

3.12
#31A56A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#31A56A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A56A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A56A#FFFFFF#000000##000000
##31A56A1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49866
Deuteranopia (green-blind)
#958E6E
Tritanopia (blue-blind)
#00A496
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a56a;
/* rgb */ color: rgb(49, 165, 106);
/* oklch */ color: oklch(64.3% 0.136 156.5);
Tailwind
colors: {
  custom: {
    50: '#78c195',
    500: '#31a56a',
    950: '#000000',
  },
}
SCSS
$custom: #31a56a;
$custom-light: #78c195;
$custom-dark: #000000;
JSON
{
  "hex": "#31a56a",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 106
  },
  "hsl": {
    "h": 149.483,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64305,
    "c": 0.13572,
    "h": 156.5
  },
  "luminance": 0.28604
}

Semantic roles & 50–950 ramp

primary
#31A56A
secondary
#C0729A
accent
#4A95DE
background
#F7FBF9
surface
#EEF7F1
border
#C9D0CB
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A56A

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

Preview Lab → · Contrast checker → · Palette generator →

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