#4EB42A#4EB42A

#4EB42A is a light, vivid green. Relative luminance 0.344; OKLCH L 68.3% C 0.195 H 139.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4EB42A
RGBrgb(78, 180, 42)
HSLhsl(104, 62%, 44%)
HSVhsv(104, 77%, 71%)
CMYKcmyk(56.7%, 0%, 76.7%, 29.4%)
CIE-LABlab(65.30, -53.63, 57.15)
CIE-LCHlch(65.30, 78.38, 133.18°)
OKLaboklab(68.31% -0.1477 0.1279)
OKLCHoklch(68.31% 0.195 139.1)
XYZxyz(19.8803, 34.4277, 7.7876)
Luminance0.3443 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB42A #902AB4
analogous
#93B42A #4EB42A #2AB44B
triadic
#4EB42A #2A4EB4 #B42A4E
tetradic
#4EB42A #2A93B4 #902AB4 #B44B2A
square
#4EB42A #2A93B4 #902AB4 #B44B2A
split-complementary
#4EB42A #4B2AB4 #B42A93
monochromatic
#235113 #38821E #4EB42A #6CD447 #94E079

Accessibility & contrast

On white

2.66
#4EB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#4EB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB42A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB42A#FFFFFF#000000##000000
##4EB42A1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A407
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#43AE9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #4eb42a;
/* rgb */ color: rgb(78, 180, 42);
/* oklch */ color: oklch(68.3% 0.195 139.1);
Tailwind
colors: {
  custom: {
    50: '#8bcb6e',
    500: '#4eb42a',
    950: '#000000',
  },
}
SCSS
$custom: #4eb42a;
$custom-light: #8bcb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb42a",
  "rgb": {
    "r": 78,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 104.348,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.68313,
    "c": 0.19539,
    "h": 139.1
  },
  "luminance": 0.34429
}

Semantic roles & 50–950 ramp

primary
#4EB42A
secondary
#B172C8
accent
#43E5BB
background
#F9FCF6
surface
#F1F9EC
border
#CBD2C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #4EB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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