#4E8E40#4E8E40

#4E8E40 is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.5% C 0.130 H 140.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E8E40
RGBrgb(78, 142, 64)
HSLhsl(109, 38%, 40%)
HSVhsv(109, 55%, 56%)
CMYKcmyk(45.1%, 0%, 54.9%, 44.3%)
CIE-LABlab(53.31, -36.36, 34.90)
CIE-LCHlch(53.31, 50.39, 136.17°)
OKLaboklab(58.52% -0.0995 0.0832)
OKLCHoklch(58.52% 0.13 140.1)
XYZxyz(13.7398, 21.3350, 8.2436)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8E40 #80408E
analogous
#758E40 #4E8E40 #408E59
triadic
#4E8E40 #404E8E #8E404E
tetradic
#4E8E40 #40758E #80408E #8E5940
square
#4E8E40 #40758E #80408E #8E5940
split-complementary
#4E8E40 #59408E #8E4075
monochromatic
#203A1A #37642D #4E8E40 #68B458 #8EC782

Accessibility & contrast

On white

3.99
#4E8E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E8E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8E40
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8E40#FFFFFF#000000##000000
##4E8E401.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928339
Deuteranopia (green-blind)
#897D46
Tritanopia (blue-blind)
#498A7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e8e40;
/* rgb */ color: rgb(78, 142, 64);
/* oklch */ color: oklch(58.5% 0.130 140.1);
Tailwind
colors: {
  custom: {
    50: '#84af77',
    500: '#4e8e40',
    950: '#000000',
  },
}
SCSS
$custom: #4e8e40;
$custom-light: #84af77;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8e40",
  "rgb": {
    "r": 78,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 109.231,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58519,
    "c": 0.12974,
    "h": 140.1
  },
  "luminance": 0.21336
}

Semantic roles & 50–950 ramp

primary
#4E8E40
secondary
#A779B1
accent
#5ACEB9
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4E8E40

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

Preview Lab → · Contrast checker → · Palette generator →

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