#4ECC40#4ECC40

#4ECC40 is a light, highly saturated green. Relative luminance 0.452; OKLCH L 74.7% C 0.210 H 141.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4ECC40
RGBrgb(78, 204, 64)
HSLhsl(114, 58%, 53%)
HSVhsv(114, 69%, 80%)
CMYKcmyk(61.8%, 0%, 68.6%, 20%)
CIE-LABlab(73.01, -60.50, 57.00)
CIE-LCHlch(73.01, 83.12, 136.71°)
OKLaboklab(74.72% -0.165 0.1304)
OKLCHoklch(74.72% 0.21 141.7)
XYZxyz(25.6588, 45.1731, 12.2166)
Luminance0.4518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4ECC40 #BE40CC
analogous
#94CC40 #4ECC40 #40CC78
triadic
#4ECC40 #404ECC #CC404E
tetradic
#4ECC40 #4094CC #BE40CC #CC7840
square
#4ECC40 #4094CC #BE40CC #CC7840
split-complementary
#4ECC40 #7840CC #CC4094
monochromatic
#27731F #38A32C #4ECC40 #7BD970 #A8E6A1

Accessibility & contrast

On white

2.09
#4ECC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#4ECC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4ECC40
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4ECC40#FFFFFF#000000##000000
##4ECC401.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2B
Deuteranopia (green-blind)
#C1AF4D
Tritanopia (blue-blind)
#38C6B0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #4ecc40;
/* rgb */ color: rgb(78, 204, 64);
/* oklch */ color: oklch(74.7% 0.210 141.7);
Tailwind
colors: {
  custom: {
    50: '#8edd7c',
    500: '#4ecc40',
    950: '#000000',
  },
}
SCSS
$custom: #4ecc40;
$custom-light: #8edd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4ecc40",
  "rgb": {
    "r": 78,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 114,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74725,
    "c": 0.21036,
    "h": 141.7
  },
  "luminance": 0.45176
}

Semantic roles & 50–950 ramp

primary
#4ECC40
secondary
#CC95D2
accent
#47E1D2
background
#F9FDF7
surface
#F2FBEE
border
#CCD4C9
text
#0E150A
muted
#7E837C

Preview Lab

Preview with #4ECC40

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

Preview Lab → · Contrast checker → · Palette generator →

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