#31DC5A#31DC5A

#31DC5A is a light, highly saturated green. Relative luminance 0.526; OKLCH L 78.5% C 0.219 H 146.7°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#31DC5A
RGBrgb(49, 220, 90)
HSLhsl(134, 71%, 53%)
HSVhsv(134, 78%, 86%)
CMYKcmyk(77.7%, 0%, 59.1%, 13.7%)
CIE-LABlab(77.62, -68.09, 51.03)
CIE-LCHlch(77.62, 85.09, 143.15°)
OKLaboklab(78.45% -0.1832 0.1205)
OKLCHoklch(78.45% 0.219 146.7)
XYZxyz(28.7031, 52.5741, 18.3059)
Luminance0.5258 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31DC5A #DC31B3
analogous
#5DDC31 #31DC5A #31DCAF
triadic
#31DC5A #5A31DC #DC5A31
tetradic
#31DC5A #315DDC #DC31B3 #DCAF31
square
#31DC5A #315DDC #DC31B3 #DCAF31
split-complementary
#31DC5A #AF31DC #DC315D
monochromatic
#157D2E #1EB242 #31DC5A #65E584 #9AEEAE

Accessibility & contrast

On white

1.82
#31DC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#31DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31DC5A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31DC5A#FFFFFF#000000##000000
##31DC5A1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84C
Deuteranopia (green-blind)
#CCBB65
Tritanopia (blue-blind)
#00D7C0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #31dc5a;
/* rgb */ color: rgb(49, 220, 90);
/* oklch */ color: oklch(78.5% 0.219 146.7);
Tailwind
colors: {
  custom: {
    50: '#85e88c',
    500: '#31dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #31dc5a;
$custom-light: #85e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#31dc5a",
  "rgb": {
    "r": 49,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 134.386,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78451,
    "c": 0.21927,
    "h": 146.7
  },
  "luminance": 0.52578
}

Semantic roles & 50–950 ramp

primary
#31DC5A
secondary
#852D70
accent
#3AC3EE
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #31DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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