#31E23B#31E23B

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

Color values

HEX#31E23B
RGBrgb(49, 226, 59)
HSLhsl(123, 75%, 54%)
HSVhsv(123, 78%, 89%)
CMYKcmyk(78.3%, 0%, 73.9%, 11.4%)
CIE-LABlab(79.25, -72.97, 65.03)
CIE-LCHlch(79.25, 97.75, 138.29°)
OKLaboklab(79.72% -0.1977 0.1468)
OKLCHoklch(79.72% 0.246 143.4)
XYZxyz(29.2505, 55.3579, 13.2804)
Luminance0.5536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31E23B #E231D8
analogous
#80E231 #31E23B #31E294
triadic
#31E23B #3B31E2 #E23B31
tetradic
#31E23B #3180E2 #E231D8 #E29431
square
#31E23B #3180E2 #E231D8 #E29431
split-complementary
#31E23B #9431E2 #E23180
monochromatic
#138619 #1ABB23 #31E23B #67EA6E #9CF1A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31E23B#FFFFFF#000000##000000
##31E23B1.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)
#E7CC18
Deuteranopia (green-blind)
#D4BF4D
Tritanopia (blue-blind)
#00DBC2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #31e23b;
/* rgb */ color: rgb(49, 226, 59);
/* oklch */ color: oklch(79.7% 0.246 143.4);
Tailwind
colors: {
  custom: {
    50: '#88ed7b',
    500: '#31e23b',
    950: '#000000',
  },
}
SCSS
$custom: #31e23b;
$custom-light: #88ed7b;
$custom-dark: #000000;
JSON
{
  "hex": "#31e23b",
  "rgb": {
    "r": 49,
    "g": 226,
    "b": 59
  },
  "hsl": {
    "h": 123.39,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79721,
    "c": 0.2462,
    "h": 143.4
  },
  "luminance": 0.55361
}

Semantic roles & 50–950 ramp

primary
#31E23B
secondary
#8C2B86
accent
#36E7F2
background
#FCFFFB
surface
#F4FEF2
border
#CED6CC
text
#0E160A
muted
#7F857D

Preview Lab

Preview with #31E23B

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

Preview Lab → · Contrast checker → · Palette generator →

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