#31E233#31E233

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

Color values

HEX#31E233
RGBrgb(49, 226, 51)
HSLhsl(121, 75%, 54%)
HSVhsv(121, 78%, 89%)
CMYKcmyk(78.3%, 0%, 77.4%, 11.4%)
CIE-LABlab(79.20, -73.52, 67.54)
CIE-LCHlch(79.20, 99.84, 137.43°)
OKLaboklab(79.67% -0.1995 0.151)
OKLCHoklch(79.67% 0.25 142.9)
XYZxyz(29.0587, 55.2812, 12.2702)
Luminance0.5528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31E233 #E231E0
analogous
#88E231 #31E233 #31E28C
triadic
#31E233 #3331E2 #E23331
tetradic
#31E233 #3188E2 #E231E0 #E28C31
square
#31E233 #3188E2 #E231E0 #E28C31
split-complementary
#31E233 #8C31E2 #E23188
monochromatic
#138614 #1ABB1C #31E233 #67EA68 #9CF19D

Accessibility & contrast

On white

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

On black

12.06
#31E233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31E233
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31E233#FFFFFF#000000##000000
##31E2331.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31e233;
/* rgb */ color: rgb(49, 226, 51);
/* oklch */ color: oklch(79.7% 0.250 142.9);
Tailwind
colors: {
  custom: {
    50: '#88ed78',
    500: '#31e233',
    950: '#000000',
  },
}
SCSS
$custom: #31e233;
$custom-light: #88ed78;
$custom-dark: #000000;
JSON
{
  "hex": "#31e233",
  "rgb": {
    "r": 49,
    "g": 226,
    "b": 51
  },
  "hsl": {
    "h": 120.678,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79671,
    "c": 0.25018,
    "h": 142.9
  },
  "luminance": 0.55285
}

Semantic roles & 50–950 ramp

primary
#31E233
secondary
#8C2B8B
accent
#36F0F2
background
#FCFFFB
surface
#F5FEF2
border
#CFD6CC
text
#0E160A
muted
#7F857D

Preview Lab

Preview with #31E233

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

Preview Lab → · Contrast checker → · Palette generator →

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