#31E239#31E239

#31E239 is a light, highly saturated green. Relative luminance 0.553; OKLCH L 79.7% C 0.247 H 143.3°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#31E239
RGBrgb(49, 226, 57)
HSLhsl(123, 75%, 54%)
HSVhsv(123, 78%, 89%)
CMYKcmyk(78.3%, 0%, 74.8%, 11.4%)
CIE-LABlab(79.24, -73.12, 65.69)
CIE-LCHlch(79.24, 98.29, 138.07°)
OKLaboklab(79.71% -0.1981 0.1479)
OKLCHoklch(79.71% 0.247 143.3)
XYZxyz(29.1996, 55.3376, 13.0124)
Luminance0.5534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31E239 #E231DA
analogous
#82E231 #31E239 #31E292
triadic
#31E239 #3931E2 #E23931
tetradic
#31E239 #3182E2 #E231DA #E29231
square
#31E239 #3182E2 #E231DA #E29231
split-complementary
#31E239 #9231E2 #E23182
monochromatic
#138618 #1ABB22 #31E239 #67EA6D #9CF1A0

Accessibility & contrast

On white

1.74
#31E239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#31E239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31E239
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31E239#FFFFFF#000000##000000
##31E2391.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC13
Deuteranopia (green-blind)
#D4BF4C
Tritanopia (blue-blind)
#00DBC2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #31e239;
/* rgb */ color: rgb(49, 226, 57);
/* oklch */ color: oklch(79.7% 0.247 143.3);
Tailwind
colors: {
  custom: {
    50: '#88ed7b',
    500: '#31e239',
    950: '#000000',
  },
}
SCSS
$custom: #31e239;
$custom-light: #88ed7b;
$custom-dark: #000000;
JSON
{
  "hex": "#31e239",
  "rgb": {
    "r": 49,
    "g": 226,
    "b": 57
  },
  "hsl": {
    "h": 122.712,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79708,
    "c": 0.24725,
    "h": 143.3
  },
  "luminance": 0.55341
}

Semantic roles & 50–950 ramp

primary
#31E239
secondary
#8C2B88
accent
#36E9F2
background
#FCFFFB
surface
#F4FEF2
border
#CED6CC
text
#0E160A
muted
#7F857D

Preview Lab

Preview with #31E239

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

Preview Lab → · Contrast checker → · Palette generator →

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