#4EA42A#4EA42A

#4EA42A is a light, vivid green. Relative luminance 0.283; OKLCH L 64.1% C 0.176 H 138.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4EA42A
RGBrgb(78, 164, 42)
HSLhsl(102, 59%, 40%)
HSVhsv(102, 74%, 64%)
CMYKcmyk(52.4%, 0%, 74.4%, 35.7%)
CIE-LABlab(60.19, -47.61, 52.12)
CIE-LCHlch(60.19, 70.60, 132.41°)
OKLaboklab(64.1% -0.1315 0.1174)
OKLCHoklch(64.1% 0.176 138.3)
XYZxyz(16.8347, 28.3365, 6.7724)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EA42A #802AA4
analogous
#8BA42A #4EA42A #2AA443
triadic
#4EA42A #2A4EA4 #A42A4E
tetradic
#4EA42A #2A8BA4 #802AA4 #A4432A
square
#4EA42A #2A8BA4 #802AA4 #A4432A
split-complementary
#4EA42A #432AA4 #A42A8B
monochromatic
#204311 #37731E #4EA42A #68CD3E #8EDA6E

Accessibility & contrast

On white

3.15
#4EA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#4EA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4EA42A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EA42A#FFFFFF#000000##000000
##4EA42A1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99612
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#479E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4ea42a;
/* rgb */ color: rgb(78, 164, 42);
/* oklch */ color: oklch(64.1% 0.176 138.3);
Tailwind
colors: {
  custom: {
    50: '#88c06c',
    500: '#4ea42a',
    950: '#000000',
  },
}
SCSS
$custom: #4ea42a;
$custom-light: #88c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#4ea42a",
  "rgb": {
    "r": 78,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 102.295,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.641,
    "c": 0.17628,
    "h": 138.3
  },
  "luminance": 0.28338
}

Semantic roles & 50–950 ramp

primary
#4EA42A
secondary
#A769C1
accent
#45E2B4
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4EA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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