#4EC042#4EC042

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

Color values

HEX#4EC042
RGBrgb(78, 192, 66)
HSLhsl(114, 50%, 51%)
HSVhsv(114, 66%, 75%)
CMYKcmyk(59.4%, 0%, 65.6%, 24.7%)
CIE-LABlab(69.26, -56.05, 52.17)
CIE-LCHlch(69.26, 76.58, 137.05°)
OKLaboklab(71.64% -0.1529 0.1205)
OKLCHoklch(71.64% 0.195 141.8)
XYZxyz(22.9737, 39.7102, 11.6074)
Luminance0.3971 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EC042 #B442C0
analogous
#8DC042 #4EC042 #42C075
triadic
#4EC042 #424EC0 #C0424E
tetradic
#4EC042 #428DC0 #B442C0 #C07542
square
#4EC042 #428DC0 #B442C0 #C07542
split-complementary
#4EC042 #7542C0 #C0428D
monochromatic
#286622 #3B9431 #4EC042 #79CF70 #A4DF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4EC042#FFFFFF#000000##000000
##4EC0421.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)
#C5AF32
Deuteranopia (green-blind)
#B6A54D
Tritanopia (blue-blind)
#3CBAA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #4ec042;
/* rgb */ color: rgb(78, 192, 66);
/* oklch */ color: oklch(71.6% 0.195 141.8);
Tailwind
colors: {
  custom: {
    50: '#8cd47c',
    500: '#4ec042',
    950: '#000000',
  },
}
SCSS
$custom: #4ec042;
$custom-light: #8cd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#4ec042",
  "rgb": {
    "r": 78,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 114.286,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71638,
    "c": 0.19468,
    "h": 141.8
  },
  "luminance": 0.39712
}

Semantic roles & 50–950 ramp

primary
#4EC042
secondary
#C693CB
accent
#4EDACC
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D140A
muted
#7E837C

Preview Lab

Preview with #4EC042

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

Preview Lab → · Contrast checker → · Palette generator →

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