#31DB5C#31DB5C

#31DB5C is a light, highly saturated green. Relative luminance 0.521; OKLCH L 78.2% C 0.217 H 147.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#31DB5C
RGBrgb(49, 219, 92)
HSLhsl(135, 70%, 53%)
HSVhsv(135, 78%, 86%)
CMYKcmyk(77.6%, 0%, 58%, 14.1%)
CIE-LABlab(77.33, -67.52, 49.80)
CIE-LCHlch(77.33, 83.90, 143.59°)
OKLaboklab(78.22% -0.1816 0.118)
OKLCHoklch(78.22% 0.217 147)
XYZxyz(28.5277, 52.0853, 18.6731)
Luminance0.5209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31DB5C #DB31B0
analogous
#5BDB31 #31DB5C #31DBB1
triadic
#31DB5C #5C31DB #DB5C31
tetradic
#31DB5C #315BDB #DB31B0 #DBB131
square
#31DB5C #315BDB #DB31B0 #DBB131
split-complementary
#31DB5C #B131DB #DB315B
monochromatic
#167C30 #1FB044 #31DB5C #65E485 #99EDAE

Accessibility & contrast

On white

1.84
#31DB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#31DB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31DB5C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31DB5C#FFFFFF#000000##000000
##31DB5C1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#CBBA66
Tritanopia (blue-blind)
#00D6BF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #31db5c;
/* rgb */ color: rgb(49, 219, 92);
/* oklch */ color: oklch(78.2% 0.217 147.0);
Tailwind
colors: {
  custom: {
    50: '#85e88e',
    500: '#31db5c',
    950: '#000000',
  },
}
SCSS
$custom: #31db5c;
$custom-light: #85e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#31db5c",
  "rgb": {
    "r": 49,
    "g": 219,
    "b": 92
  },
  "hsl": {
    "h": 135.176,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78216,
    "c": 0.21656,
    "h": 147
  },
  "luminance": 0.52089
}

Semantic roles & 50–950 ramp

primary
#31DB5C
secondary
#832D6E
accent
#3BC0ED
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #31DB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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