#31DC5D#31DC5D

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

Color values

HEX#31DC5D
RGBrgb(49, 220, 93)
HSLhsl(135, 71%, 53%)
HSVhsv(135, 78%, 86%)
CMYKcmyk(77.7%, 0%, 57.7%, 13.7%)
CIE-LABlab(77.65, -67.72, 49.73)
CIE-LCHlch(77.65, 84.01, 143.71°)
OKLaboklab(78.49% -0.1821 0.1179)
OKLCHoklch(78.49% 0.217 147.1)
XYZxyz(28.8334, 52.6262, 18.9921)
Luminance0.5263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31DC5D #DC31B0
analogous
#5ADC31 #31DC5D #31DCB3
triadic
#31DC5D #5D31DC #DC5D31
tetradic
#31DC5D #315ADC #DC31B0 #DCB331
square
#31DC5D #315ADC #DC31B0 #DCB331
split-complementary
#31DC5D #B331DC #DC315A
monochromatic
#157D30 #1EB244 #31DC5D #65E586 #9AEEAF

Accessibility & contrast

On white

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

On black

11.53
#31DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31DC5D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31DC5D#FFFFFF#000000##000000
##31DC5D1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31dc5d;
/* rgb */ color: rgb(49, 220, 93);
/* oklch */ color: oklch(78.5% 0.217 147.1);
Tailwind
colors: {
  custom: {
    50: '#85e88e',
    500: '#31dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #31dc5d;
$custom-light: #85e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#31dc5d",
  "rgb": {
    "r": 49,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 135.439,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78487,
    "c": 0.21694,
    "h": 147.1
  },
  "luminance": 0.5263
}

Semantic roles & 50–950 ramp

primary
#31DC5D
secondary
#852D6E
accent
#3ABFEE
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160D
muted
#7F847F

Preview Lab

Preview with #31DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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