#4E8C40#4E8C40

#4E8C40 is a mid, vivid green. Relative luminance 0.207; OKLCH L 58.0% C 0.127 H 140.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4E8C40
RGBrgb(78, 140, 64)
HSLhsl(109, 37%, 40%)
HSVhsv(109, 54%, 55%)
CMYKcmyk(44.3%, 0%, 54.3%, 45.1%)
CIE-LABlab(52.67, -35.47, 34.12)
CIE-LCHlch(52.67, 49.22, 136.11°)
OKLaboklab(57.99% -0.0971 0.0815)
OKLCHoklch(57.99% 0.127 140)
XYZxyz(13.4449, 20.7452, 8.1453)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8C40 #7E408C
analogous
#748C40 #4E8C40 #408C58
triadic
#4E8C40 #404E8C #8C404E
tetradic
#4E8C40 #40748C #7E408C #8C5840
square
#4E8C40 #40748C #7E408C #8C5840
split-complementary
#4E8C40 #58408C #8C4074
monochromatic
#1F381A #37622D #4E8C40 #68B257 #8EC581

Accessibility & contrast

On white

4.08
#4E8C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4E8C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8C40
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8C40#FFFFFF#000000##000000
##4E8C401.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908139
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#49887B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e8c40;
/* rgb */ color: rgb(78, 140, 64);
/* oklch */ color: oklch(58.0% 0.127 140.0);
Tailwind
colors: {
  custom: {
    50: '#84ae77',
    500: '#4e8c40',
    950: '#000000',
  },
}
SCSS
$custom: #4e8c40;
$custom-light: #84ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8c40",
  "rgb": {
    "r": 78,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 108.947,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.12679,
    "h": 140
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E8C40

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

Preview Lab → · Contrast checker → · Palette generator →

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