#4E8D40#4E8D40

#4E8D40 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.3% C 0.128 H 140.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E8D40
RGBrgb(78, 141, 64)
HSLhsl(109, 38%, 40%)
HSVhsv(109, 55%, 55%)
CMYKcmyk(44.7%, 0%, 54.6%, 44.7%)
CIE-LABlab(52.99, -35.91, 34.51)
CIE-LCHlch(52.99, 49.81, 136.14°)
OKLaboklab(58.26% -0.0983 0.0824)
OKLCHoklch(58.26% 0.128 140)
XYZxyz(13.5916, 21.0388, 8.1942)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8D40 #7F408D
analogous
#748D40 #4E8D40 #408D58
triadic
#4E8D40 #404E8D #8D404E
tetradic
#4E8D40 #40748D #7F408D #8D5840
square
#4E8D40 #40748D #7F408D #8D5840
split-complementary
#4E8D40 #58408D #8D4074
monochromatic
#1F391A #37632D #4E8D40 #68B357 #8EC681

Accessibility & contrast

On white

4.03
#4E8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8D40
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8D40#FFFFFF#000000##000000
##4E8D401.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#887C45
Tritanopia (blue-blind)
#49897C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8d40;
/* rgb */ color: rgb(78, 141, 64);
/* oklch */ color: oklch(58.3% 0.128 140.0);
Tailwind
colors: {
  custom: {
    50: '#84af77',
    500: '#4e8d40',
    950: '#000000',
  },
}
SCSS
$custom: #4e8d40;
$custom-light: #84af77;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8d40",
  "rgb": {
    "r": 78,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 109.091,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.12826,
    "h": 140
  },
  "luminance": 0.2104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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