#4EB842#4EB842

#4EB842 is a light, vivid green. Relative luminance 0.363; OKLCH L 69.6% C 0.185 H 141.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4EB842
RGBrgb(78, 184, 66)
HSLhsl(114, 47%, 49%)
HSVhsv(114, 64%, 72%)
CMYKcmyk(57.6%, 0%, 64.1%, 27.8%)
CIE-LABlab(66.74, -53.11, 49.41)
CIE-LCHlch(66.74, 72.54, 137.07°)
OKLaboklab(69.56% -0.1449 0.1146)
OKLCHoklch(69.56% 0.185 141.7)
XYZxyz(21.2647, 36.2922, 11.0377)
Luminance0.3629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB842 #AC42B8
analogous
#89B842 #4EB842 #42B871
triadic
#4EB842 #424EB8 #B8424E
tetradic
#4EB842 #4289B8 #AC42B8 #B87142
square
#4EB842 #4289B8 #AC42B8 #B87142
split-complementary
#4EB842 #7142B8 #B84289
monochromatic
#285E22 #3B8B32 #4EB842 #76CB6D #A0DB9A

Accessibility & contrast

On white

2.54
#4EB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#4EB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB842
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB842#FFFFFF#000000##000000
##4EB8421.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#AF9F4C
Tritanopia (blue-blind)
#3FB39F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #4eb842;
/* rgb */ color: rgb(78, 184, 66);
/* oklch */ color: oklch(69.6% 0.185 141.7);
Tailwind
colors: {
  custom: {
    50: '#8ace7b',
    500: '#4eb842',
    950: '#000000',
  },
}
SCSS
$custom: #4eb842;
$custom-light: #8ace7b;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb842",
  "rgb": {
    "r": 78,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 113.898,
    "s": 47.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.69559,
    "c": 0.18479,
    "h": 141.7
  },
  "luminance": 0.36294
}

Semantic roles & 50–950 ramp

primary
#4EB842
secondary
#C18FC7
accent
#51D7C9
background
#F9FCF7
surface
#F1F9EE
border
#CBD2C9
text
#0D140A
muted
#7E827C

Preview Lab

Preview with #4EB842

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

Preview Lab → · Contrast checker → · Palette generator →

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