#4EC227#4EC227

#4EC227 is a light, highly saturated green. Relative luminance 0.404; OKLCH L 72.0% C 0.213 H 139.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#4EC227
RGBrgb(78, 194, 39)
HSLhsl(105, 67%, 46%)
HSVhsv(105, 80%, 76%)
CMYKcmyk(59.8%, 0%, 79.9%, 23.9%)
CIE-LABlab(69.72, -58.80, 62.29)
CIE-LCHlch(69.72, 85.66, 133.35°)
OKLaboklab(71.96% -0.1618 0.1382)
OKLCHoklch(71.96% 0.213 139.5)
XYZxyz(22.7989, 40.3477, 8.5055)
Luminance0.4035 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EC227 #9B27C2
analogous
#9BC227 #4EC227 #27C24D
triadic
#4EC227 #274EC2 #C2274E
tetradic
#4EC227 #279BC2 #9B27C2 #C24D27
square
#4EC227 #279BC2 #9B27C2 #C24D27
split-complementary
#4EC227 #4D27C2 #C2279B
monochromatic
#255C13 #3A8F1D #4EC227 #6FDB4B #98E57E

Accessibility & contrast

On white

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

On black

9.07
#4EC227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EC227
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EC227#FFFFFF#000000##000000
##4EC2271.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4ec227;
/* rgb */ color: rgb(78, 194, 39);
/* oklch */ color: oklch(72.0% 0.213 139.5);
Tailwind
colors: {
  custom: {
    50: '#8dd56e',
    500: '#4ec227',
    950: '#000000',
  },
}
SCSS
$custom: #4ec227;
$custom-light: #8dd56e;
$custom-dark: #000000;
JSON
{
  "hex": "#4ec227",
  "rgb": {
    "r": 78,
    "g": 194,
    "b": 39
  },
  "hsl": {
    "h": 104.903,
    "s": 66.524,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71957,
    "c": 0.21277,
    "h": 139.5
  },
  "luminance": 0.4035
}

Semantic roles & 50–950 ramp

primary
#4EC227
secondary
#B877CE
accent
#3EE9BE
background
#F9FDF7
surface
#F2FAED
border
#CCD3C8
text
#0D1408
muted
#7E837B

Preview Lab

Preview with #4EC227

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

Preview Lab → · Contrast checker → · Palette generator →

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