#31AE32#31AE32

#31AE32 is a light, vivid green. Relative luminance 0.312; OKLCH L 65.9% C 0.195 H 143.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#31AE32
RGBrgb(49, 174, 50)
HSLhsl(120, 56%, 44%)
HSVhsv(120, 72%, 68%)
CMYKcmyk(71.8%, 0%, 71.3%, 31.8%)
CIE-LABlab(62.64, -57.36, 51.34)
CIE-LCHlch(62.64, 76.99, 138.17°)
OKLaboklab(65.9% -0.1557 0.1171)
OKLCHoklch(65.9% 0.195 143.1)
XYZxyz(16.9774, 31.1535, 8.1355)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE32 #AE31AD
analogous
#6EAE31 #31AE32 #31AE70
triadic
#31AE32 #3231AE #AE3231
tetradic
#31AE32 #316EAE #AE31AD #AE7031
square
#31AE32 #316EAE #AE31AD #AE7031
split-complementary
#31AE32 #7031AE #AE316E
monochromatic
#164E17 #247E24 #31AE32 #4FCD50 #7FDB7F

Accessibility & contrast

On white

2.90
#31AE32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#31AE32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE32
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE32#FFFFFF#000000##000000
##31AE321.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1E
Deuteranopia (green-blind)
#A3943E
Tritanopia (blue-blind)
#01A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ae32;
/* rgb */ color: rgb(49, 174, 50);
/* oklch */ color: oklch(65.9% 0.195 143.1);
Tailwind
colors: {
  custom: {
    50: '#7cc771',
    500: '#31ae32',
    950: '#000000',
  },
}
SCSS
$custom: #31ae32;
$custom-light: #7cc771;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae32",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 50
  },
  "hsl": {
    "h": 120.48,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65902,
    "c": 0.19479,
    "h": 143.1
  },
  "luminance": 0.31155
}

Semantic roles & 50–950 ramp

primary
#31AE32
secondary
#C477C3
accent
#48DEDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AE32

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

Preview Lab → · Contrast checker → · Palette generator →

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