#4EB221#4EB221

#4EB221 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.197 H 138.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4EB221
RGBrgb(78, 178, 33)
HSLhsl(101, 69%, 41%)
HSVhsv(101, 81%, 70%)
CMYKcmyk(56.2%, 0%, 81.5%, 30.2%)
CIE-LABlab(64.62, -53.43, 59.26)
CIE-LCHlch(64.62, 79.79, 132.03°)
OKLaboklab(67.74% -0.1477 0.131)
OKLCHoklch(67.74% 0.197 138.4)
XYZxyz(19.3361, 33.5687, 6.8990)
Luminance0.3357 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB221 #8521B2
analogous
#97B221 #4EB221 #21B23D
triadic
#4EB221 #214EB2 #B2214E
tetradic
#4EB221 #2197B2 #8521B2 #B23D21
square
#4EB221 #2197B2 #8521B2 #B23D21
split-complementary
#4EB221 #3D21B2 #B22197
monochromatic
#214B0E #377E17 #4EB221 #69DA36 #90E36A

Accessibility & contrast

On white

2.72
#4EB221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#4EB221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB221
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB221#FFFFFF#000000##000000
##4EB2211.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AB9A33
Tritanopia (blue-blind)
#45AC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #4eb221;
/* rgb */ color: rgb(78, 178, 33);
/* oklch */ color: oklch(67.7% 0.197 138.4);
Tailwind
colors: {
  custom: {
    50: '#8bca6a',
    500: '#4eb221',
    950: '#000000',
  },
}
SCSS
$custom: #4eb221;
$custom-light: #8bca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb221",
  "rgb": {
    "r": 78,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 101.379,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.1974,
    "h": 138.4
  },
  "luminance": 0.3357
}

Semantic roles & 50–950 ramp

primary
#4EB221
secondary
#AA66C9
accent
#3CECB5
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4EB221

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

Preview Lab → · Contrast checker → · Palette generator →

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