#4EC040#4EC040

#4EC040 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.6% C 0.196 H 141.5°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#4EC040
RGBrgb(78, 192, 64)
HSLhsl(113, 50%, 50%)
HSVhsv(113, 67%, 75%)
CMYKcmyk(59.4%, 0%, 66.7%, 24.7%)
CIE-LABlab(69.25, -56.24, 52.98)
CIE-LCHlch(69.25, 77.27, 136.71°)
OKLaboklab(71.62% -0.1535 0.122)
OKLCHoklch(71.62% 0.196 141.5)
XYZxyz(22.9158, 39.6870, 11.3022)
Luminance0.3969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EC040 #B240C0
analogous
#8EC040 #4EC040 #40C072
triadic
#4EC040 #404EC0 #C0404E
tetradic
#4EC040 #408EC0 #B240C0 #C07240
square
#4EC040 #408EC0 #B240C0 #C07240
split-complementary
#4EC040 #7240C0 #C0408E
monochromatic
#286421 #3B9230 #4EC040 #79CF6E #A3DE9C

Accessibility & contrast

On white

2.35
#4EC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#4EC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EC040
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EC040#FFFFFF#000000##000000
##4EC0401.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#B6A54C
Tritanopia (blue-blind)
#3DBAA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #4ec040;
/* rgb */ color: rgb(78, 192, 64);
/* oklch */ color: oklch(71.6% 0.196 141.5);
Tailwind
colors: {
  custom: {
    50: '#8cd47b',
    500: '#4ec040',
    950: '#000000',
  },
}
SCSS
$custom: #4ec040;
$custom-light: #8cd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#4ec040",
  "rgb": {
    "r": 78,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 113.438,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.19609,
    "h": 141.5
  },
  "luminance": 0.39689
}

Semantic roles & 50–950 ramp

primary
#4EC040
secondary
#C491CB
accent
#4EDACB
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D140A
muted
#7E837C

Preview Lab

Preview with #4EC040

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

Preview Lab → · Contrast checker → · Palette generator →

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