#31E238#31E238

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

Color values

HEX#31E238
RGBrgb(49, 226, 56)
HSLhsl(122, 75%, 54%)
HSVhsv(122, 78%, 89%)
CMYKcmyk(78.3%, 0%, 75.2%, 11.4%)
CIE-LABlab(79.23, -73.19, 66.00)
CIE-LCHlch(79.23, 98.56, 137.96°)
OKLaboklab(79.7% -0.1984 0.1484)
OKLCHoklch(79.7% 0.248 143.2)
XYZxyz(29.1749, 55.3277, 12.8823)
Luminance0.5533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31E238 #E231DB
analogous
#83E231 #31E238 #31E291
triadic
#31E238 #3831E2 #E23831
tetradic
#31E238 #3183E2 #E231DB #E29131
square
#31E238 #3183E2 #E231DB #E29131
split-complementary
#31E238 #9131E2 #E23183
monochromatic
#138617 #1ABB21 #31E238 #67EA6C #9CF1A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31E238#FFFFFF#000000##000000
##31E2381.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)
#E7CC0F
Deuteranopia (green-blind)
#D4BF4B
Tritanopia (blue-blind)
#00DBC2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #31e238;
/* rgb */ color: rgb(49, 226, 56);
/* oklch */ color: oklch(79.7% 0.248 143.2);
Tailwind
colors: {
  custom: {
    50: '#88ed7a',
    500: '#31e238',
    950: '#000000',
  },
}
SCSS
$custom: #31e238;
$custom-light: #88ed7a;
$custom-dark: #000000;
JSON
{
  "hex": "#31e238",
  "rgb": {
    "r": 49,
    "g": 226,
    "b": 56
  },
  "hsl": {
    "h": 122.373,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79701,
    "c": 0.24775,
    "h": 143.2
  },
  "luminance": 0.55331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31E238

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

Preview Lab → · Contrast checker → · Palette generator →

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