#4E8A40#4E8A40

#4E8A40 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.5% C 0.124 H 139.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E8A40
RGBrgb(78, 138, 64)
HSLhsl(109, 37%, 40%)
HSVhsv(109, 54%, 54%)
CMYKcmyk(43.5%, 0%, 53.6%, 45.9%)
CIE-LABlab(52.02, -34.57, 33.35)
CIE-LCHlch(52.02, 48.03, 136.03°)
OKLaboklab(57.47% -0.0947 0.0798)
OKLCHoklch(57.47% 0.124 139.9)
XYZxyz(13.1553, 20.1660, 8.0487)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8A40 #7C408A
analogous
#738A40 #4E8A40 #408A57
triadic
#4E8A40 #404E8A #8A404E
tetradic
#4E8A40 #40738A #7C408A #8A5740
square
#4E8A40 #40738A #7C408A #8A5740
split-complementary
#4E8A40 #57408A #8A4073
monochromatic
#1F3619 #36602D #4E8A40 #67B156 #8DC480

Accessibility & contrast

On white

4.17
#4E8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4E8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8A40
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8A40#FFFFFF#000000##000000
##4E8A401.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F39
Deuteranopia (green-blind)
#857A45
Tritanopia (blue-blind)
#498679
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e8a40;
/* rgb */ color: rgb(78, 138, 64);
/* oklch */ color: oklch(57.5% 0.124 139.9);
Tailwind
colors: {
  custom: {
    50: '#84ac77',
    500: '#4e8a40',
    950: '#000000',
  },
}
SCSS
$custom: #4e8a40;
$custom-light: #84ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8a40",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 108.649,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57465,
    "c": 0.12382,
    "h": 139.9
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#4E8A40
secondary
#A477AF
accent
#5BCDB7
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4E8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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