#31AE47#31AE47

#31AE47 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.1% C 0.179 H 145.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#31AE47
RGBrgb(49, 174, 71)
HSLhsl(131, 56%, 44%)
HSVhsv(131, 72%, 68%)
CMYKcmyk(71.8%, 0%, 59.2%, 31.8%)
CIE-LABlab(62.83, -55.11, 42.50)
CIE-LCHlch(62.83, 69.59, 142.36°)
OKLaboklab(66.12% -0.1487 0.1005)
OKLCHoklch(66.12% 0.179 145.9)
XYZxyz(17.5388, 31.3780, 11.0923)
Luminance0.3138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE47 #AE3198
analogous
#59AE31 #31AE47 #31AE85
triadic
#31AE47 #4731AE #AE4731
tetradic
#31AE47 #3159AE #AE3198 #AE8531
square
#31AE47 #3159AE #AE3198 #AE8531
split-complementary
#31AE47 #8531AE #AE3159
monochromatic
#164E20 #247E34 #31AE47 #4FCD65 #7FDB8F

Accessibility & contrast

On white

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

On black

7.28
#31AE47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE47
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE47#FFFFFF#000000##000000
##31AE471.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E3C
Deuteranopia (green-blind)
#A2944F
Tritanopia (blue-blind)
#00AA98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae47;
/* rgb */ color: rgb(49, 174, 71);
/* oklch */ color: oklch(66.1% 0.179 145.9);
Tailwind
colors: {
  custom: {
    50: '#7bc77d',
    500: '#31ae47',
    950: '#000000',
  },
}
SCSS
$custom: #31ae47;
$custom-light: #7bc77d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae47",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 71
  },
  "hsl": {
    "h": 130.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66119,
    "c": 0.17943,
    "h": 145.9
  },
  "luminance": 0.3138
}

Semantic roles & 50–950 ramp

primary
#31AE47
secondary
#C477B6
accent
#48C5DF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AE47

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

Preview Lab → · Contrast checker → · Palette generator →

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