#4EA228#4EA228

#4EA228 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.6% C 0.175 H 137.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#4EA228
RGBrgb(78, 162, 40)
HSLhsl(101, 60%, 40%)
HSVhsv(101, 75%, 64%)
CMYKcmyk(51.9%, 0%, 75.3%, 36.5%)
CIE-LABlab(59.54, -46.98, 52.19)
CIE-LCHlch(59.54, 70.22, 131.99°)
OKLaboklab(63.56% -0.1299 0.1172)
OKLCHoklch(63.56% 0.175 137.9)
XYZxyz(16.4447, 27.6123, 6.4702)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA228 #7C28A2
analogous
#8BA228 #4EA228 #28A23F
triadic
#4EA228 #284EA2 #A2284E
tetradic
#4EA228 #288BA2 #7C28A2 #A23F28
square
#4EA228 #288BA2 #7C28A2 #A23F28
split-complementary
#4EA228 #3F28A2 #A2288B
monochromatic
#1F4010 #36711C #4EA228 #68CE39 #8DDA6A

Accessibility & contrast

On white

3.22
#4EA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#4EA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA228
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA228#FFFFFF#000000##000000
##4EA2281.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940F
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#489C8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #4ea228;
/* rgb */ color: rgb(78, 162, 40);
/* oklch */ color: oklch(63.6% 0.175 137.9);
Tailwind
colors: {
  custom: {
    50: '#88be6b',
    500: '#4ea228',
    950: '#000000',
  },
}
SCSS
$custom: #4ea228;
$custom-light: #88be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea228",
  "rgb": {
    "r": 78,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 101.311,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63557,
    "c": 0.175,
    "h": 137.9
  },
  "luminance": 0.27614
}

Semantic roles & 50–950 ramp

primary
#4EA228
secondary
#A465C1
accent
#44E4B2
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4EA228

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

Preview Lab → · Contrast checker → · Palette generator →

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