#4CC040#4CC040

#4CC040 is a light, vivid green. Relative luminance 0.396; OKLCH L 71.6% C 0.197 H 141.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4CC040
RGBrgb(76, 192, 64)
HSLhsl(114, 50%, 50%)
HSVhsv(114, 67%, 75%)
CMYKcmyk(60.4%, 0%, 66.7%, 24.7%)
CIE-LABlab(69.19, -56.72, 52.90)
CIE-LCHlch(69.19, 77.56, 136.99°)
OKLaboklab(71.55% -0.1547 0.1218)
OKLCHoklch(71.55% 0.197 141.8)
XYZxyz(22.7544, 39.6038, 11.2947)
Luminance0.3961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CC040 #B440C0
analogous
#8CC040 #4CC040 #40C074
triadic
#4CC040 #404CC0 #C0404C
tetradic
#4CC040 #408CC0 #B440C0 #C07440
square
#4CC040 #408CC0 #B440C0 #C07440
split-complementary
#4CC040 #7440C0 #C0408C
monochromatic
#276421 #3A9230 #4CC040 #77CF6E #A2DE9C

Accessibility & contrast

On white

2.35
#4CC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#4CC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4CC040
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CC040#FFFFFF#000000##000000
##4CC0401.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#B6A54C
Tritanopia (blue-blind)
#39BAA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #4cc040;
/* rgb */ color: rgb(76, 192, 64);
/* oklch */ color: oklch(71.6% 0.197 141.8);
Tailwind
colors: {
  custom: {
    50: '#8bd47b',
    500: '#4cc040',
    950: '#000000',
  },
}
SCSS
$custom: #4cc040;
$custom-light: #8bd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#4cc040",
  "rgb": {
    "r": 76,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 114.375,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71553,
    "c": 0.1969,
    "h": 141.8
  },
  "luminance": 0.39606
}

Semantic roles & 50–950 ramp

primary
#4CC040
secondary
#C591CB
accent
#4EDACD
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D140A
muted
#7E837C

Preview Lab

Preview with #4CC040

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

Preview Lab → · Contrast checker → · Palette generator →

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