#31DC5C#31DC5C

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

Color values

HEX#31DC5C
RGBrgb(49, 220, 92)
HSLhsl(135, 71%, 53%)
HSVhsv(135, 78%, 86%)
CMYKcmyk(77.7%, 0%, 58.2%, 13.7%)
CIE-LABlab(77.64, -67.84, 50.16)
CIE-LCHlch(77.64, 84.38, 143.52°)
OKLaboklab(78.47% -0.1825 0.1187)
OKLCHoklch(78.47% 0.218 146.9)
XYZxyz(28.7894, 52.6086, 18.7603)
Luminance0.5261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31DC5C #DC31B1
analogous
#5BDC31 #31DC5C #31DCB2
triadic
#31DC5C #5C31DC #DC5C31
tetradic
#31DC5C #315BDC #DC31B1 #DCB231
square
#31DC5C #315BDC #DC31B1 #DCB231
split-complementary
#31DC5C #B231DC #DC315B
monochromatic
#157D2F #1EB243 #31DC5C #65E585 #9AEEAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #31dc5c;
/* rgb */ color: rgb(49, 220, 92);
/* oklch */ color: oklch(78.5% 0.218 146.9);
Tailwind
colors: {
  custom: {
    50: '#85e88e',
    500: '#31dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #31dc5c;
$custom-light: #85e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#31dc5c",
  "rgb": {
    "r": 49,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 135.088,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78475,
    "c": 0.21772,
    "h": 146.9
  },
  "luminance": 0.52612
}

Semantic roles & 50–950 ramp

primary
#31DC5C
secondary
#852D6E
accent
#3AC1EE
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #31DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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