#4EC21F#4EC21F

#4EC21F is a light, highly saturated green. Relative luminance 0.403; OKLCH L 71.9% C 0.216 H 139.1°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4EC21F
RGBrgb(78, 194, 31)
HSLhsl(103, 72%, 44%)
HSVhsv(103, 84%, 76%)
CMYKcmyk(59.8%, 0%, 84%, 23.9%)
CIE-LABlab(69.68, -59.20, 64.38)
CIE-LCHlch(69.68, 87.46, 132.60°)
OKLaboklab(71.92% -0.1632 0.1415)
OKLCHoklch(71.92% 0.216 139.1)
XYZxyz(22.6800, 40.3001, 7.8796)
Luminance0.4030 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EC21F #931FC2
analogous
#A0C21F #4EC21F #1FC241
triadic
#4EC21F #1F4EC2 #C21F4E
tetradic
#4EC21F #1FA0C2 #931FC2 #C2411F
square
#4EC21F #1FA0C2 #931FC2 #C2411F
split-complementary
#4EC21F #411FC2 #C21FA0
monochromatic
#24580E #398D17 #4EC21F #6DE03E #95E973

Accessibility & contrast

On white

2.32
#4EC21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#4EC21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EC21F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EC21F#FFFFFF#000000##000000
##4EC21F1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#40BBA5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #4ec21f;
/* rgb */ color: rgb(78, 194, 31);
/* oklch */ color: oklch(71.9% 0.216 139.1);
Tailwind
colors: {
  custom: {
    50: '#8dd56b',
    500: '#4ec21f',
    950: '#000000',
  },
}
SCSS
$custom: #4ec21f;
$custom-light: #8dd56b;
$custom-dark: #000000;
JSON
{
  "hex": "#4ec21f",
  "rgb": {
    "r": 78,
    "g": 194,
    "b": 31
  },
  "hsl": {
    "h": 102.699,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71918,
    "c": 0.216,
    "h": 139.1
  },
  "luminance": 0.40302
}

Semantic roles & 50–950 ramp

primary
#4EC21F
secondary
#B36DCF
accent
#39EFBB
background
#F9FDF6
surface
#F2FAEC
border
#CCD3C7
text
#0E1408
muted
#7E837A

Preview Lab

Preview with #4EC21F

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

Preview Lab → · Contrast checker → · Palette generator →

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