#31AF32#31AF32

#31AF32 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.2% C 0.196 H 143.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#31AF32
RGBrgb(49, 175, 50)
HSLhsl(120, 56%, 44%)
HSVhsv(120, 72%, 69%)
CMYKcmyk(72%, 0%, 71.4%, 31.4%)
CIE-LABlab(62.96, -57.70, 51.68)
CIE-LCHlch(62.96, 77.46, 138.15°)
OKLaboklab(66.17% -0.1566 0.1178)
OKLCHoklch(66.17% 0.196 143.1)
XYZxyz(17.1713, 31.5413, 8.2001)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF32 #AF31AE
analogous
#6FAF31 #31AF32 #31AF71
triadic
#31AF32 #3231AF #AF3231
tetradic
#31AF32 #316FAF #AF31AE #AF7131
square
#31AF32 #316FAF #AF31AE #AF7131
split-complementary
#31AF32 #7131AF #AF316F
monochromatic
#164F17 #247F24 #31AF32 #4FCE50 #7FDB80

Accessibility & contrast

On white

2.87
#31AF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#31AF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF32
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF32#FFFFFF#000000##000000
##31AF321.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1E
Deuteranopia (green-blind)
#A4953F
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af32;
/* rgb */ color: rgb(49, 175, 50);
/* oklch */ color: oklch(66.2% 0.196 143.1);
Tailwind
colors: {
  custom: {
    50: '#7cc871',
    500: '#31af32',
    950: '#000000',
  },
}
SCSS
$custom: #31af32;
$custom-light: #7cc871;
$custom-dark: #000000;
JSON
{
  "hex": "#31af32",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 120.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66172,
    "c": 0.19593,
    "h": 143.1
  },
  "luminance": 0.31543
}

Semantic roles & 50–950 ramp

primary
#31AF32
secondary
#C478C4
accent
#48DEE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AF32

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

Preview Lab → · Contrast checker → · Palette generator →

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