#31AE52#31AE52

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

Color values

HEX#31AE52
RGBrgb(49, 174, 82)
HSLhsl(136, 56%, 44%)
HSVhsv(136, 72%, 68%)
CMYKcmyk(71.8%, 0%, 52.9%, 31.8%)
CIE-LABlab(62.95, -53.59, 37.34)
CIE-LCHlch(62.95, 65.32, 145.14°)
OKLaboklab(66.27% -0.1443 0.0899)
OKLCHoklch(66.27% 0.17 148.1)
XYZxyz(17.9243, 31.5323, 13.1227)
Luminance0.3153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE52 #AE318D
analogous
#4EAE31 #31AE52 #31AE90
triadic
#31AE52 #5231AE #AE5231
tetradic
#31AE52 #314EAE #AE318D #AE9031
square
#31AE52 #314EAE #AE318D #AE9031
split-complementary
#31AE52 #9031AE #AE314E
monochromatic
#164E25 #247E3B #31AE52 #4FCD70 #7FDB97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AE52#FFFFFF#000000##000000
##31AE521.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)
#B09F4A
Deuteranopia (green-blind)
#A19459
Tritanopia (blue-blind)
#00AA99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae52;
/* rgb */ color: rgb(49, 174, 82);
/* oklch */ color: oklch(66.3% 0.170 148.1);
Tailwind
colors: {
  custom: {
    50: '#7bc785',
    500: '#31ae52',
    950: '#000000',
  },
}
SCSS
$custom: #31ae52;
$custom-light: #7bc785;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae52",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 82
  },
  "hsl": {
    "h": 135.84,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66268,
    "c": 0.17002,
    "h": 148.1
  },
  "luminance": 0.31534
}

Semantic roles & 50–950 ramp

primary
#31AE52
secondary
#C477AF
accent
#48B8DF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AE52

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

Preview Lab → · Contrast checker → · Palette generator →

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