#31AE57#31AE57

#31AE57 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.3% C 0.166 H 149.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#31AE57
RGBrgb(49, 174, 87)
HSLhsl(138, 56%, 44%)
HSVhsv(138, 72%, 68%)
CMYKcmyk(71.8%, 0%, 50%, 31.8%)
CIE-LABlab(63.02, -52.83, 34.91)
CIE-LCHlch(63.02, 63.32, 146.54°)
OKLaboklab(66.34% -0.1422 0.0848)
OKLCHoklch(66.34% 0.166 149.2)
XYZxyz(18.1215, 31.6112, 14.1615)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE57 #AE3188
analogous
#49AE31 #31AE57 #31AE95
triadic
#31AE57 #5731AE #AE5731
tetradic
#31AE57 #3149AE #AE3188 #AE9531
square
#31AE57 #3149AE #AE3188 #AE9531
split-complementary
#31AE57 #9531AE #AE3149
monochromatic
#164E27 #247E3F #31AE57 #4FCD75 #7FDB9B

Accessibility & contrast

On white

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

On black

7.32
#31AE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE57
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE57#FFFFFF#000000##000000
##31AE571.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F50
Deuteranopia (green-blind)
#A0945D
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae57;
/* rgb */ color: rgb(49, 174, 87);
/* oklch */ color: oklch(66.3% 0.166 149.2);
Tailwind
colors: {
  custom: {
    50: '#7bc788',
    500: '#31ae57',
    950: '#000000',
  },
}
SCSS
$custom: #31ae57;
$custom-light: #7bc788;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae57",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 87
  },
  "hsl": {
    "h": 138.24,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66343,
    "c": 0.16552,
    "h": 149.2
  },
  "luminance": 0.31613
}

Semantic roles & 50–950 ramp

primary
#31AE57
secondary
#C477AC
accent
#48B1DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AE57

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

Preview Lab → · Contrast checker → · Palette generator →

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