#31AE41#31AE41

#31AE41 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.0% C 0.184 H 145.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#31AE41
RGBrgb(49, 174, 65)
HSLhsl(128, 56%, 44%)
HSVhsv(128, 72%, 68%)
CMYKcmyk(71.8%, 0%, 62.6%, 31.8%)
CIE-LABlab(62.76, -55.84, 45.18)
CIE-LCHlch(62.76, 71.83, 141.02°)
OKLaboklab(66.05% -0.1509 0.1057)
OKLCHoklch(66.05% 0.184 145)
XYZxyz(17.3556, 31.3048, 10.1278)
Luminance0.3131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE41 #AE319E
analogous
#5FAE31 #31AE41 #31AE7F
triadic
#31AE41 #4131AE #AE4131
tetradic
#31AE41 #315FAE #AE319E #AE7F31
square
#31AE41 #315FAE #AE319E #AE7F31
split-complementary
#31AE41 #7F31AE #AE315F
monochromatic
#164E1D #247E2F #31AE41 #4FCD5F #7FDB8A

Accessibility & contrast

On white

2.89
#31AE41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#31AE41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE41
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE41#FFFFFF#000000##000000
##31AE411.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E35
Deuteranopia (green-blind)
#A2944A
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae41;
/* rgb */ color: rgb(49, 174, 65);
/* oklch */ color: oklch(66.0% 0.184 145.0);
Tailwind
colors: {
  custom: {
    50: '#7bc77a',
    500: '#31ae41',
    950: '#000000',
  },
}
SCSS
$custom: #31ae41;
$custom-light: #7bc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae41",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 65
  },
  "hsl": {
    "h": 127.68,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66048,
    "c": 0.18421,
    "h": 145
  },
  "luminance": 0.31307
}

Semantic roles & 50–950 ramp

primary
#31AE41
secondary
#C477BA
accent
#48CCDF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AE41

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

Preview Lab → · Contrast checker → · Palette generator →

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