#31DB42#31DB42

#31DB42 is a light, highly saturated green. Relative luminance 0.517; OKLCH L 78.0% C 0.235 H 144.0°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#31DB42
RGBrgb(49, 219, 66)
HSLhsl(126, 70%, 53%)
HSVhsv(126, 78%, 86%)
CMYKcmyk(77.6%, 0%, 69.9%, 14.1%)
CIE-LABlab(77.10, -70.29, 60.36)
CIE-LCHlch(77.10, 92.65, 139.35°)
OKLaboklab(77.96% -0.1901 0.1379)
OKLCHoklch(77.96% 0.235 144)
XYZxyz(27.5796, 51.7061, 13.6799)
Luminance0.5171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31DB42 #DB31CA
analogous
#75DB31 #31DB42 #31DB97
triadic
#31DB42 #4231DB #DB4231
tetradic
#31DB42 #3175DB #DB31CA #DB9731
square
#31DB42 #3175DB #DB31CA #DB9731
split-complementary
#31DB42 #9731DB #DB3175
monochromatic
#167C20 #1FB02D #31DB42 #65E472 #99EDA2

Accessibility & contrast

On white

1.85
#31DB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#31DB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31DB42
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31DB42#FFFFFF#000000##000000
##31DB421.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62A
Deuteranopia (green-blind)
#CDB951
Tritanopia (blue-blind)
#00D5BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #31db42;
/* rgb */ color: rgb(49, 219, 66);
/* oklch */ color: oklch(78.0% 0.235 144.0);
Tailwind
colors: {
  custom: {
    50: '#86e87e',
    500: '#31db42',
    950: '#000000',
  },
}
SCSS
$custom: #31db42;
$custom-light: #86e87e;
$custom-dark: #000000;
JSON
{
  "hex": "#31db42",
  "rgb": {
    "r": 49,
    "g": 219,
    "b": 66
  },
  "hsl": {
    "h": 126,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.77955,
    "c": 0.23482,
    "h": 144
  },
  "luminance": 0.51709
}

Semantic roles & 50–950 ramp

primary
#31DB42
secondary
#832D7B
accent
#3BDBED
background
#FCFEFB
surface
#F4FDF2
border
#CED5CC
text
#0D160A
muted
#7F847D

Preview Lab

Preview with #31DB42

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

Preview Lab → · Contrast checker → · Palette generator →

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