#4D8940#4D8940

#4D8940 is a mid, vivid green. Relative luminance 0.198; OKLCH L 57.1% C 0.123 H 140.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D8940
RGBrgb(77, 137, 64)
HSLhsl(109, 36%, 39%)
HSVhsv(109, 53%, 54%)
CMYKcmyk(43.8%, 0%, 53.3%, 46.3%)
CIE-LABlab(51.65, -34.45, 32.89)
CIE-LCHlch(51.65, 47.63, 136.33°)
OKLaboklab(57.15% -0.0943 0.0788)
OKLCHoklch(57.15% 0.123 140.1)
XYZxyz(12.9311, 19.8385, 7.9973)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D8940 #7C4089
analogous
#728940 #4D8940 #408958
triadic
#4D8940 #404D89 #89404D
tetradic
#4D8940 #407289 #7C4089 #895840
square
#4D8940 #407289 #7C4089 #895840
split-complementary
#4D8940 #584089 #894072
monochromatic
#1E3619 #365F2D #4D8940 #66B056 #8CC480

Accessibility & contrast

On white

4.23
#4D8940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D8940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D8940
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D8940#FFFFFF#000000##000000
##4D89401.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3A
Deuteranopia (green-blind)
#847945
Tritanopia (blue-blind)
#488578
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d8940;
/* rgb */ color: rgb(77, 137, 64);
/* oklch */ color: oklch(57.1% 0.123 140.1);
Tailwind
colors: {
  custom: {
    50: '#83ac77',
    500: '#4d8940',
    950: '#000000',
  },
}
SCSS
$custom: #4d8940;
$custom-light: #83ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#4d8940",
  "rgb": {
    "r": 77,
    "g": 137,
    "b": 64
  },
  "hsl": {
    "h": 109.315,
    "s": 36.318,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.12288,
    "h": 140.1
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#4D8940
secondary
#A477AE
accent
#5BCCB8
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4D8940

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

Preview Lab → · Contrast checker → · Palette generator →

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