#31E231#31E231

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

Color values

HEX#31E231
RGBrgb(49, 226, 49)
HSLhsl(120, 75%, 54%)
HSVhsv(120, 78%, 89%)
CMYKcmyk(78.3%, 0%, 78.3%, 11.4%)
CIE-LABlab(79.19, -73.65, 68.12)
CIE-LCHlch(79.19, 100.32, 137.23°)
OKLaboklab(79.66% -0.1999 0.1519)
OKLCHoklch(79.66% 0.251 142.8)
XYZxyz(29.0155, 55.2639, 12.0429)
Luminance0.5527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31E231 #E231E2
analogous
#8AE231 #31E231 #31E28A
triadic
#31E231 #3131E2 #E23131
tetradic
#31E231 #318AE2 #E231E2 #E28A31
square
#31E231 #318AE2 #E231E2 #E28A31
split-complementary
#31E231 #8A31E2 #E2318A
monochromatic
#138613 #1ABB1A #31E231 #67EA67 #9CF19C

Accessibility & contrast

On white

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

On black

12.05
#31E231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31E231
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31E231#FFFFFF#000000##000000
##31E2311.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CC00
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#00DBC1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #31e231;
/* rgb */ color: rgb(49, 226, 49);
/* oklch */ color: oklch(79.7% 0.251 142.8);
Tailwind
colors: {
  custom: {
    50: '#88ed77',
    500: '#31e231',
    950: '#000000',
  },
}
SCSS
$custom: #31e231;
$custom-light: #88ed77;
$custom-dark: #000000;
JSON
{
  "hex": "#31e231",
  "rgb": {
    "r": 49,
    "g": 226,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79659,
    "c": 0.25109,
    "h": 142.8
  },
  "luminance": 0.55267
}

Semantic roles & 50–950 ramp

primary
#31E231
secondary
#8C2B8C
accent
#36F2F2
background
#FCFFFB
surface
#F5FEF1
border
#CFD6CB
text
#0E160A
muted
#7F857D

Preview Lab

Preview with #31E231

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

Preview Lab → · Contrast checker → · Palette generator →

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