#31E270#31E270

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

Color values

HEX#31E270
RGBrgb(49, 226, 112)
HSLhsl(141, 75%, 54%)
HSVhsv(141, 78%, 89%)
CMYKcmyk(78.3%, 0%, 50.4%, 11.4%)
CIE-LABlab(79.73, -67.05, 43.38)
CIE-LCHlch(79.73, 79.86, 147.10°)
OKLaboklab(80.28% -0.18 0.105)
OKLCHoklch(80.28% 0.208 149.7)
XYZxyz(31.3850, 56.2117, 24.5219)
Luminance0.5622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31E270 #E231A3
analogous
#4BE231 #31E270 #31E2C9
triadic
#31E270 #7031E2 #E27031
tetradic
#31E270 #314BE2 #E231A3 #E2C931
square
#31E270 #314BE2 #E231A3 #E2C931
split-complementary
#31E270 #C931E2 #E2314B
monochromatic
#13863C #1ABB54 #31E270 #67EA95 #9CF1BA

Accessibility & contrast

On white

1.72
#31E270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#31E270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31E270
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31E270#FFFFFF#000000##000000
##31E2701.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31e270;
/* rgb */ color: rgb(49, 226, 112);
/* oklch */ color: oklch(80.3% 0.208 149.7);
Tailwind
colors: {
  custom: {
    50: '#85ec9b',
    500: '#31e270',
    950: '#000000',
  },
}
SCSS
$custom: #31e270;
$custom-light: #85ec9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31e270",
  "rgb": {
    "r": 49,
    "g": 226,
    "b": 112
  },
  "hsl": {
    "h": 141.356,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80283,
    "c": 0.20843,
    "h": 149.7
  },
  "luminance": 0.56216
}

Semantic roles & 50–950 ramp

primary
#31E270
secondary
#8C2B6A
accent
#36AFF2
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0D160E
muted
#7F857F

Preview Lab

Preview with #31E270

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

Preview Lab → · Contrast checker → · Palette generator →

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