#31AE50#31AE50

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

Color values

HEX#31AE50
RGBrgb(49, 174, 80)
HSLhsl(135, 56%, 44%)
HSVhsv(135, 72%, 68%)
CMYKcmyk(71.8%, 0%, 54%, 31.8%)
CIE-LABlab(62.93, -53.88, 38.30)
CIE-LCHlch(62.93, 66.11, 144.60°)
OKLaboklab(66.24% -0.1451 0.0919)
OKLCHoklch(66.24% 0.172 147.6)
XYZxyz(17.8493, 31.5023, 12.7277)
Luminance0.3150 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE50 #AE318F
analogous
#50AE31 #31AE50 #31AE8E
triadic
#31AE50 #5031AE #AE5031
tetradic
#31AE50 #3150AE #AE318F #AE8E31
square
#31AE50 #3150AE #AE318F #AE8E31
split-complementary
#31AE50 #8E31AE #AE3150
monochromatic
#164E24 #247E3A #31AE50 #4FCD6E #7FDB95

Accessibility & contrast

On white

2.88
#31AE50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#31AE50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE50
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE50#FFFFFF#000000##000000
##31AE501.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E48
Deuteranopia (green-blind)
#A19457
Tritanopia (blue-blind)
#00AA99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae50;
/* rgb */ color: rgb(49, 174, 80);
/* oklch */ color: oklch(66.2% 0.172 147.6);
Tailwind
colors: {
  custom: {
    50: '#7bc783',
    500: '#31ae50',
    950: '#000000',
  },
}
SCSS
$custom: #31ae50;
$custom-light: #7bc783;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae50",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 80
  },
  "hsl": {
    "h": 134.88,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66239,
    "c": 0.17177,
    "h": 147.6
  },
  "luminance": 0.31504
}

Semantic roles & 50–950 ramp

primary
#31AE50
secondary
#C477B1
accent
#48BADF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AE50

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

Preview Lab → · Contrast checker → · Palette generator →

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