#4C8A40#4C8A40

#4C8A40 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.4% C 0.125 H 140.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4C8A40
RGBrgb(76, 138, 64)
HSLhsl(110, 37%, 40%)
HSVhsv(110, 54%, 54%)
CMYKcmyk(44.9%, 0%, 53.6%, 45.9%)
CIE-LABlab(51.93, -35.23, 33.21)
CIE-LCHlch(51.93, 48.42, 136.69°)
OKLaboklab(57.36% -0.0964 0.0795)
OKLCHoklch(57.36% 0.125 140.5)
XYZxyz(12.9939, 20.0828, 8.0412)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A40 #7E408A
analogous
#718A40 #4C8A40 #408A59
triadic
#4C8A40 #404C8A #8A404C
tetradic
#4C8A40 #40718A #7E408A #8A5940
square
#4C8A40 #40718A #7E408A #8A5940
split-complementary
#4C8A40 #59408A #8A4071
monochromatic
#1E3619 #35602D #4C8A40 #65B156 #8BC480

Accessibility & contrast

On white

4.19
#4C8A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4C8A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A40
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A40#FFFFFF#000000##000000
##4C8A401.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c8a40;
/* rgb */ color: rgb(76, 138, 64);
/* oklch */ color: oklch(57.4% 0.125 140.5);
Tailwind
colors: {
  custom: {
    50: '#82ac77',
    500: '#4c8a40',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a40;
$custom-light: #82ac77;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a40",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 64
  },
  "hsl": {
    "h": 110.27,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.12493,
    "h": 140.5
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#4C8A40
secondary
#A677AF
accent
#5BCDBA
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4C8A40

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

Preview Lab → · Contrast checker → · Palette generator →

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