#31A55D#31A55D

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

Color values

HEX#31A55D
RGBrgb(49, 165, 93)
HSLhsl(143, 54%, 42%)
HSVhsv(143, 70%, 65%)
CMYKcmyk(70.3%, 0%, 43.6%, 35.3%)
CIE-LABlab(60.21, -48.45, 28.22)
CIE-LCHlch(60.21, 56.07, 149.78°)
OKLaboklab(64.05% -0.1306 0.0697)
OKLCHoklch(64.05% 0.148 151.9)
XYZxyz(16.6961, 28.3517, 14.9463)
Luminance0.2835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A55D #A53179
analogous
#3FA531 #31A55D #31A597
triadic
#31A55D #5D31A5 #A55D31
tetradic
#31A55D #313FA5 #A53179 #A59731
square
#31A55D #313FA5 #A53179 #A59731
split-complementary
#31A55D #9731A5 #A5313F
monochromatic
#154728 #237642 #31A55D #4AC97A #79D79D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A55D#FFFFFF#000000##000000
##31A55D1.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)
#A59758
Deuteranopia (green-blind)
#978D62
Tritanopia (blue-blind)
#00A393
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a55d;
/* rgb */ color: rgb(49, 165, 93);
/* oklch */ color: oklch(64.0% 0.148 151.9);
Tailwind
colors: {
  custom: {
    50: '#79c18c',
    500: '#31a55d',
    950: '#000000',
  },
}
SCSS
$custom: #31a55d;
$custom-light: #79c18c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a55d",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 93
  },
  "hsl": {
    "h": 142.759,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.14799,
    "h": 151.9
  },
  "luminance": 0.28354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A55D

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

Preview Lab → · Contrast checker → · Palette generator →

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