#31A55B#31A55B

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

Color values

HEX#31A55B
RGBrgb(49, 165, 91)
HSLhsl(142, 54%, 42%)
HSVhsv(142, 70%, 65%)
CMYKcmyk(70.3%, 0%, 44.8%, 35.3%)
CIE-LABlab(60.17, -48.80, 29.23)
CIE-LCHlch(60.17, 56.89, 149.08°)
OKLaboklab(64.01% -0.1315 0.072)
OKLCHoklch(64.01% 0.15 151.3)
XYZxyz(16.6087, 28.3167, 14.4859)
Luminance0.2832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A55B #A5317B
analogous
#41A531 #31A55B #31A595
triadic
#31A55B #5B31A5 #A55B31
tetradic
#31A55B #3141A5 #A5317B #A59531
square
#31A55B #3141A5 #A5317B #A59531
split-complementary
#31A55B #9531A5 #A53141
monochromatic
#154727 #237641 #31A55B #4AC978 #79D79B

Accessibility & contrast

On white

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

On black

6.66
#31A55B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A55B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A55B#FFFFFF#000000##000000
##31A55B1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69755
Deuteranopia (green-blind)
#978D60
Tritanopia (blue-blind)
#00A293
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a55b;
/* rgb */ color: rgb(49, 165, 91);
/* oklch */ color: oklch(64.0% 0.150 151.3);
Tailwind
colors: {
  custom: {
    50: '#79c18a',
    500: '#31a55b',
    950: '#000000',
  },
}
SCSS
$custom: #31a55b;
$custom-light: #79c18a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a55b",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 91
  },
  "hsl": {
    "h": 141.724,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64012,
    "c": 0.14989,
    "h": 151.3
  },
  "luminance": 0.28319
}

Semantic roles & 50–950 ramp

primary
#31A55B
secondary
#C072A4
accent
#4AA8DE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A55B

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

Preview Lab → · Contrast checker → · Palette generator →

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