#31E271#31E271

#31E271 is a light, highly saturated green. Relative luminance 0.562; OKLCH L 80.3% C 0.208 H 149.9°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#31E271
RGBrgb(49, 226, 113)
HSLhsl(142, 75%, 54%)
HSVhsv(142, 78%, 89%)
CMYKcmyk(78.3%, 0%, 50%, 11.4%)
CIE-LABlab(79.75, -66.90, 42.91)
CIE-LCHlch(79.75, 79.48, 147.32°)
OKLaboklab(80.3% -0.1796 0.104)
OKLCHoklch(80.3% 0.208 149.9)
XYZxyz(31.4409, 56.2341, 24.8168)
Luminance0.5624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31E271 #E231A2
analogous
#4AE231 #31E271 #31E2CA
triadic
#31E271 #7131E2 #E27131
tetradic
#31E271 #314AE2 #E231A2 #E2CA31
square
#31E271 #314AE2 #E231A2 #E2CA31
split-complementary
#31E271 #CA31E2 #E2314A
monochromatic
#13863C #1ABB55 #31E271 #67EA96 #9CF1BB

Accessibility & contrast

On white

1.71
#31E271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#31E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31E271
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31E271#FFFFFF#000000##000000
##31E2711.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE67
Deuteranopia (green-blind)
#D0C079
Tritanopia (blue-blind)
#00DEC8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #31e271;
/* rgb */ color: rgb(49, 226, 113);
/* oklch */ color: oklch(80.3% 0.208 149.9);
Tailwind
colors: {
  custom: {
    50: '#85ec9c',
    500: '#31e271',
    950: '#000000',
  },
}
SCSS
$custom: #31e271;
$custom-light: #85ec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#31e271",
  "rgb": {
    "r": 49,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 141.695,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80298,
    "c": 0.20759,
    "h": 149.9
  },
  "luminance": 0.56238
}

Semantic roles & 50–950 ramp

primary
#31E271
secondary
#8C2B69
accent
#36AEF2
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0D160E
muted
#7F857F

Preview Lab

Preview with #31E271

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

Preview Lab → · Contrast checker → · Palette generator →

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