#4EB540#4EB540

#4EB540 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.8% C 0.183 H 141.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4EB540
RGBrgb(78, 181, 64)
HSLhsl(113, 48%, 48%)
HSVhsv(113, 65%, 71%)
CMYKcmyk(56.9%, 0%, 64.6%, 29%)
CIE-LABlab(65.78, -52.19, 49.20)
CIE-LCHlch(65.78, 71.73, 136.69°)
OKLaboklab(68.76% -0.1425 0.114)
OKLCHoklch(68.76% 0.183 141.3)
XYZxyz(20.5902, 35.0358, 10.5270)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4EB540 #A740B5
analogous
#88B540 #4EB540 #40B56D
triadic
#4EB540 #404EB5 #B5404E
tetradic
#4EB540 #4088B5 #A740B5 #B56D40
square
#4EB540 #4088B5 #A740B5 #B56D40
split-complementary
#4EB540 #6D40B5 #B54088
monochromatic
#275B20 #3B8830 #4EB540 #74CA68 #9EDA96

Accessibility & contrast

On white

2.62
#4EB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#4EB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4EB540
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4EB540#FFFFFF#000000##000000
##4EB5401.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A532
Deuteranopia (green-blind)
#AC9C4A
Tritanopia (blue-blind)
#40B09D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #4eb540;
/* rgb */ color: rgb(78, 181, 64);
/* oklch */ color: oklch(68.8% 0.183 141.3);
Tailwind
colors: {
  custom: {
    50: '#8acc7a',
    500: '#4eb540',
    950: '#000000',
  },
}
SCSS
$custom: #4eb540;
$custom-light: #8acc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4eb540",
  "rgb": {
    "r": 78,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 112.821,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.68756,
    "c": 0.18253,
    "h": 141.3
  },
  "luminance": 0.35038
}

Semantic roles & 50–950 ramp

primary
#4EB540
secondary
#BE8BC5
accent
#50D7C7
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0D1309
muted
#7D827B

Preview Lab

Preview with #4EB540

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

Preview Lab → · Contrast checker → · Palette generator →

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