#4EC21C#4EC21C

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

Color values

HEX#4EC21C
RGBrgb(78, 194, 28)
HSLhsl(102, 75%, 44%)
HSVhsv(102, 86%, 76%)
CMYKcmyk(59.8%, 0%, 85.6%, 23.9%)
CIE-LABlab(69.67, -59.32, 65.07)
CIE-LCHlch(69.67, 88.05, 132.35°)
OKLaboklab(71.91% -0.1637 0.1425)
OKLCHoklch(71.91% 0.217 138.9)
XYZxyz(22.6423, 40.2851, 7.6810)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EC21C #901CC2
analogous
#A1C21C #4EC21C #1CC23D
triadic
#4EC21C #1C4EC2 #C21C4E
tetradic
#4EC21C #1CA1C2 #901CC2 #C23D1C
square
#4EC21C #1CA1C2 #901CC2 #C23D1C
split-complementary
#4EC21C #3D1CC2 #C21CA1
monochromatic
#23570D #388D14 #4EC21C #6CE239 #94EA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4EC21C#FFFFFF#000000##000000
##4EC21C1.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)
#BAA733
Tritanopia (blue-blind)
#41BBA5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #4ec21c;
/* rgb */ color: rgb(78, 194, 28);
/* oklch */ color: oklch(71.9% 0.217 138.9);
Tailwind
colors: {
  custom: {
    50: '#8dd56a',
    500: '#4ec21c',
    950: '#000000',
  },
}
SCSS
$custom: #4ec21c;
$custom-light: #8dd56a;
$custom-dark: #000000;
JSON
{
  "hex": "#4ec21c",
  "rgb": {
    "r": 78,
    "g": 194,
    "b": 28
  },
  "hsl": {
    "h": 101.928,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71906,
    "c": 0.21705,
    "h": 138.9
  },
  "luminance": 0.40287
}

Semantic roles & 50–950 ramp

primary
#4EC21C
secondary
#B16AD0
accent
#36F1B9
background
#F9FDF6
surface
#F2FAEC
border
#CCD3C7
text
#0E1407
muted
#7E837A

Preview Lab

Preview with #4EC21C

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

Preview Lab → · Contrast checker → · Palette generator →

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