#4E8F40#4E8F40

#4E8F40 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.8% C 0.131 H 140.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E8F40
RGBrgb(78, 143, 64)
HSLhsl(109, 38%, 41%)
HSVhsv(109, 55%, 56%)
CMYKcmyk(45.5%, 0%, 55.2%, 43.9%)
CIE-LABlab(53.64, -36.80, 35.28)
CIE-LCHlch(53.64, 50.98, 136.20°)
OKLaboklab(58.78% -0.1007 0.0841)
OKLCHoklch(58.78% 0.131 140.2)
XYZxyz(13.8892, 21.6339, 8.2934)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8F40 #81408F
analogous
#758F40 #4E8F40 #408F59
triadic
#4E8F40 #404E8F #8F404E
tetradic
#4E8F40 #40758F #81408F #8F5940
square
#4E8F40 #40758F #81408F #8F5940
split-complementary
#4E8F40 #59408F #8F4075
monochromatic
#203A1A #37652D #4E8F40 #68B458 #8EC782

Accessibility & contrast

On white

3.94
#4E8F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4E8F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8F40
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8F40#FFFFFF#000000##000000
##4E8F401.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938439
Deuteranopia (green-blind)
#8A7E46
Tritanopia (blue-blind)
#488B7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e8f40;
/* rgb */ color: rgb(78, 143, 64);
/* oklch */ color: oklch(58.8% 0.131 140.2);
Tailwind
colors: {
  custom: {
    50: '#84b077',
    500: '#4e8f40',
    950: '#000000',
  },
}
SCSS
$custom: #4e8f40;
$custom-light: #84b077;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8f40",
  "rgb": {
    "r": 78,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 109.367,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.1312,
    "h": 140.2
  },
  "luminance": 0.21635
}

Semantic roles & 50–950 ramp

primary
#4E8F40
secondary
#A879B2
accent
#5ACEB9
background
#F8FAF7
surface
#EFF5ED
border
#CACFC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4E8F40

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

Preview Lab → · Contrast checker → · Palette generator →

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