#5ECC40#5ECC40

#5ECC40 is a light, highly saturated green. Relative luminance 0.459; OKLCH L 75.3% C 0.204 H 139.7°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#5ECC40
RGBrgb(94, 204, 64)
HSLhsl(107, 58%, 53%)
HSVhsv(107, 69%, 80%)
CMYKcmyk(53.9%, 0%, 68.6%, 20%)
CIE-LABlab(73.50, -56.56, 57.67)
CIE-LCHlch(73.50, 80.78, 134.44°)
OKLaboklab(75.28% -0.1553 0.1317)
OKLCHoklch(75.28% 0.204 139.7)
XYZxyz(27.1332, 45.9334, 12.2857)
Luminance0.4594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5ECC40 #AE40CC
analogous
#A4CC40 #5ECC40 #40CC68
triadic
#5ECC40 #405ECC #CC405E
tetradic
#5ECC40 #40A4CC #AE40CC #CC6840
square
#5ECC40 #40A4CC #AE40CC #CC6840
split-complementary
#5ECC40 #6840CC #CC40A4
monochromatic
#31731F #45A32C #5ECC40 #87D970 #AFE6A1

Accessibility & contrast

On white

2.06
#5ECC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#5ECC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5ECC40
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5ECC40#FFFFFF#000000##000000
##5ECC401.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2B
Deuteranopia (green-blind)
#C4B14D
Tritanopia (blue-blind)
#52C5B0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #5ecc40;
/* rgb */ color: rgb(94, 204, 64);
/* oklch */ color: oklch(75.3% 0.204 139.7);
Tailwind
colors: {
  custom: {
    50: '#96dc7c',
    500: '#5ecc40',
    950: '#000000',
  },
}
SCSS
$custom: #5ecc40;
$custom-light: #96dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ecc40",
  "rgb": {
    "r": 94,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 107.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75275,
    "c": 0.20366,
    "h": 139.7
  },
  "luminance": 0.45936
}

Semantic roles & 50–950 ramp

primary
#5ECC40
secondary
#C595D2
accent
#47E1C0
background
#F9FDF7
surface
#F2FBEE
border
#CCD4C9
text
#0E150A
muted
#7E837C

Preview Lab

Preview with #5ECC40

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

Preview Lab → · Contrast checker → · Palette generator →

#5ECC40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva