#31A53E#31A53E

#31A53E is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.176 H 144.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#31A53E
RGBrgb(49, 165, 62)
HSLhsl(127, 54%, 42%)
HSVhsv(127, 70%, 65%)
CMYKcmyk(70.3%, 0%, 62.4%, 35.3%)
CIE-LABlab(59.81, -53.05, 43.19)
CIE-LCHlch(59.81, 68.41, 140.85°)
OKLaboklab(63.59% -0.1434 0.1012)
OKLCHoklch(63.59% 0.176 144.8)
XYZxyz(15.5902, 27.9093, 9.1219)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A53E #A53198
analogous
#5EA531 #31A53E #31A578
triadic
#31A53E #3E31A5 #A53E31
tetradic
#31A53E #315EA5 #A53198 #A57831
square
#31A53E #315EA5 #A53198 #A57831
split-complementary
#31A53E #7831A5 #A5315E
monochromatic
#15471B #23762C #31A53E #4AC958 #79D784

Accessibility & contrast

On white

3.19
#31A53E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#31A53E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A53E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A53E#FFFFFF#000000##000000
##31A53E1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89632
Deuteranopia (green-blind)
#9A8C47
Tritanopia (blue-blind)
#04A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a53e;
/* rgb */ color: rgb(49, 165, 62);
/* oklch */ color: oklch(63.6% 0.176 144.8);
Tailwind
colors: {
  custom: {
    50: '#7ac177',
    500: '#31a53e',
    950: '#000000',
  },
}
SCSS
$custom: #31a53e;
$custom-light: #7ac177;
$custom-dark: #000000;
JSON
{
  "hex": "#31a53e",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 62
  },
  "hsl": {
    "h": 126.724,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63589,
    "c": 0.17552,
    "h": 144.8
  },
  "luminance": 0.27911
}

Semantic roles & 50–950 ramp

primary
#31A53E
secondary
#C072B7
accent
#4ACDDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A53E

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

Preview Lab → · Contrast checker → · Palette generator →

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