#31A55C#31A55C

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

Color values

HEX#31A55C
RGBrgb(49, 165, 92)
HSLhsl(142, 54%, 42%)
HSVhsv(142, 70%, 65%)
CMYKcmyk(70.3%, 0%, 44.2%, 35.3%)
CIE-LABlab(60.19, -48.62, 28.73)
CIE-LCHlch(60.19, 56.48, 149.43°)
OKLaboklab(64.03% -0.131 0.0708)
OKLCHoklch(64.03% 0.149 151.6)
XYZxyz(16.6521, 28.3341, 14.7146)
Luminance0.2834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A55C #A5317A
analogous
#40A531 #31A55C #31A596
triadic
#31A55C #5C31A5 #A55C31
tetradic
#31A55C #3140A5 #A5317A #A59631
square
#31A55C #3140A5 #A5317A #A59631
split-complementary
#31A55C #9631A5 #A53140
monochromatic
#154727 #237642 #31A55C #4AC979 #79D79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A55C#FFFFFF#000000##000000
##31A55C1.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)
#A69757
Deuteranopia (green-blind)
#978D61
Tritanopia (blue-blind)
#00A293
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a55c;
/* rgb */ color: rgb(49, 165, 92);
/* oklch */ color: oklch(64.0% 0.149 151.6);
Tailwind
colors: {
  custom: {
    50: '#79c18b',
    500: '#31a55c',
    950: '#000000',
  },
}
SCSS
$custom: #31a55c;
$custom-light: #79c18b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a55c",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 92
  },
  "hsl": {
    "h": 142.241,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.14894,
    "h": 151.6
  },
  "luminance": 0.28336
}

Semantic roles & 50–950 ramp

primary
#31A55C
secondary
#C072A3
accent
#4AA7DE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A55C

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

Preview Lab → · Contrast checker → · Palette generator →

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