#4C8D40#4C8D40

#4C8D40 is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.2% C 0.129 H 140.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C8D40
RGBrgb(76, 141, 64)
HSLhsl(111, 38%, 40%)
HSVhsv(111, 55%, 55%)
CMYKcmyk(46.1%, 0%, 54.6%, 44.7%)
CIE-LABlab(52.90, -36.56, 34.38)
CIE-LCHlch(52.90, 50.19, 136.76°)
OKLaboklab(58.16% -0.1 0.0821)
OKLCHoklch(58.16% 0.129 140.6)
XYZxyz(13.4302, 20.9555, 8.1866)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8D40 #81408D
analogous
#738D40 #4C8D40 #408D5A
triadic
#4C8D40 #404C8D #8D404C
tetradic
#4C8D40 #40738D #81408D #8D5A40
square
#4C8D40 #40738D #81408D #8D5A40
split-complementary
#4C8D40 #5A408D #8D4073
monochromatic
#1F391A #35632D #4C8D40 #66B357 #8CC681

Accessibility & contrast

On white

4.05
#4C8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8D40
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8D40#FFFFFF#000000##000000
##4C8D401.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#908239
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#46897C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c8d40;
/* rgb */ color: rgb(76, 141, 64);
/* oklch */ color: oklch(58.2% 0.129 140.6);
Tailwind
colors: {
  custom: {
    50: '#83af77',
    500: '#4c8d40',
    950: '#000000',
  },
}
SCSS
$custom: #4c8d40;
$custom-light: #83af77;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8d40",
  "rgb": {
    "r": 76,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 110.649,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58156,
    "c": 0.12937,
    "h": 140.6
  },
  "luminance": 0.20956
}

Semantic roles & 50–950 ramp

primary
#4C8D40
secondary
#A878B0
accent
#5ACEBC
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4C8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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