#31A55E#31A55E

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

Color values

HEX#31A55E
RGBrgb(49, 165, 94)
HSLhsl(143, 54%, 42%)
HSVhsv(143, 70%, 65%)
CMYKcmyk(70.3%, 0%, 43%, 35.3%)
CIE-LABlab(60.22, -48.27, 27.71)
CIE-LCHlch(60.22, 55.65, 150.14°)
OKLaboklab(64.07% -0.1301 0.0685)
OKLCHoklch(64.07% 0.147 152.2)
XYZxyz(16.7407, 28.3695, 15.1811)
Luminance0.2837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A55E #A53178
analogous
#3EA531 #31A55E #31A598
triadic
#31A55E #5E31A5 #A55E31
tetradic
#31A55E #313EA5 #A53178 #A59831
square
#31A55E #313EA5 #A53178 #A59831
split-complementary
#31A55E #9831A5 #A5313E
monochromatic
#154728 #237643 #31A55E #4AC97B #79D79E

Accessibility & contrast

On white

3.15
#31A55E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#31A55E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A55E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A55E#FFFFFF#000000##000000
##31A55E1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a55e;
/* rgb */ color: rgb(49, 165, 94);
/* oklch */ color: oklch(64.1% 0.147 152.2);
Tailwind
colors: {
  custom: {
    50: '#78c18c',
    500: '#31a55e',
    950: '#000000',
  },
}
SCSS
$custom: #31a55e;
$custom-light: #78c18c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a55e",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 94
  },
  "hsl": {
    "h": 143.276,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64066,
    "c": 0.14704,
    "h": 152.2
  },
  "luminance": 0.28371
}

Semantic roles & 50–950 ramp

primary
#31A55E
secondary
#C072A2
accent
#4AA4DE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A55E

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

Preview Lab → · Contrast checker → · Palette generator →

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