#4CD940#4CD940

#4CD940 is a light, highly saturated green. Relative luminance 0.515; OKLCH L 78.0% C 0.226 H 142.0°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#4CD940
RGBrgb(76, 217, 64)
HSLhsl(115, 67%, 55%)
HSVhsv(115, 71%, 85%)
CMYKcmyk(65%, 0%, 70.5%, 14.9%)
CIE-LABlab(77.00, -65.35, 61.15)
CIE-LCHlch(77.00, 89.50, 136.90°)
OKLaboklab(78.01% -0.1781 0.1392)
OKLCHoklch(78.01% 0.226 142)
XYZxyz(28.7172, 51.5295, 13.2823)
Luminance0.5153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4CD940 #CD40D9
analogous
#99D940 #4CD940 #40D980
triadic
#4CD940 #404CD9 #D9404C
tetradic
#4CD940 #4099D9 #CD40D9 #D98040
square
#4CD940 #4099D9 #CD40D9 #D98040
split-complementary
#4CD940 #8040D9 #D94099
monochromatic
#23841A #30B724 #4CD940 #7CE373 #ACEDA6

Accessibility & contrast

On white

1.86
#4CD940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#4CD940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4CD940
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4CD940#FFFFFF#000000##000000
##4CD9401.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC527
Deuteranopia (green-blind)
#CDBA4F
Tritanopia (blue-blind)
#2FD2BB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #4cd940;
/* rgb */ color: rgb(76, 217, 64);
/* oklch */ color: oklch(78.0% 0.226 142.0);
Tailwind
colors: {
  custom: {
    50: '#8fe67d',
    500: '#4cd940',
    950: '#000000',
  },
}
SCSS
$custom: #4cd940;
$custom-light: #8fe67d;
$custom-dark: #000000;
JSON
{
  "hex": "#4cd940",
  "rgb": {
    "r": 76,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 115.294,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78014,
    "c": 0.22597,
    "h": 142
  },
  "luminance": 0.51532
}

Semantic roles & 50–950 ramp

primary
#4CD940
secondary
#84328B
accent
#3EEADC
background
#FCFEFB
surface
#F5FCF2
border
#CFD5CC
text
#0E160A
muted
#7F847D

Preview Lab

Preview with #4CD940

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

Preview Lab → · Contrast checker → · Palette generator →

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