#31DC5B#31DC5B

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

Color values

HEX#31DC5B
RGBrgb(49, 220, 91)
HSLhsl(135, 71%, 53%)
HSVhsv(135, 78%, 86%)
CMYKcmyk(77.7%, 0%, 58.6%, 13.7%)
CIE-LABlab(77.63, -67.97, 50.60)
CIE-LCHlch(77.63, 84.74, 143.33°)
OKLaboklab(78.46% -0.1829 0.1196)
OKLCHoklch(78.46% 0.219 146.8)
XYZxyz(28.7460, 52.5912, 18.5316)
Luminance0.5260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31DC5B #DC31B2
analogous
#5CDC31 #31DC5B #31DCB1
triadic
#31DC5B #5B31DC #DC5B31
tetradic
#31DC5B #315CDC #DC31B2 #DCB131
square
#31DC5B #315CDC #DC31B2 #DCB131
split-complementary
#31DC5B #B131DC #DC315C
monochromatic
#157D2F #1EB242 #31DC5B #65E585 #9AEEAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31DC5B#FFFFFF#000000##000000
##31DC5B1.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)
#DFC84E
Deuteranopia (green-blind)
#CCBB66
Tritanopia (blue-blind)
#00D7C0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #31dc5b;
/* rgb */ color: rgb(49, 220, 91);
/* oklch */ color: oklch(78.5% 0.218 146.8);
Tailwind
colors: {
  custom: {
    50: '#85e88d',
    500: '#31dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #31dc5b;
$custom-light: #85e88d;
$custom-dark: #000000;
JSON
{
  "hex": "#31dc5b",
  "rgb": {
    "r": 49,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 134.737,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78463,
    "c": 0.2185,
    "h": 146.8
  },
  "luminance": 0.52595
}

Semantic roles & 50–950 ramp

primary
#31DC5B
secondary
#852D6F
accent
#3AC2EE
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #31DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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