#40CC4E#40CC4E

#40CC4E is a light, highly saturated green. Relative luminance 0.448; OKLCH L 74.5% C 0.206 H 144.6°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#40CC4E
RGBrgb(64, 204, 78)
HSLhsl(126, 58%, 53%)
HSVhsv(126, 69%, 80%)
CMYKcmyk(68.6%, 0%, 61.8%, 20%)
CIE-LABlab(72.78, -61.95, 50.84)
CIE-LCHlch(72.78, 80.14, 140.62°)
OKLaboklab(74.47% -0.1676 0.119)
OKLCHoklch(74.47% 0.206 144.6)
XYZxyz(25.0807, 44.8231, 14.5362)
Luminance0.4483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC4E #CC40BE
analogous
#78CC40 #40CC4E #40CC94
triadic
#40CC4E #4E40CC #CC4E40
tetradic
#40CC4E #4078CC #CC40BE #CC9440
square
#40CC4E #4078CC #CC40BE #CC9440
split-complementary
#40CC4E #9440CC #CC4078
monochromatic
#1F7327 #2CA338 #40CC4E #70D97B #A1E6A8

Accessibility & contrast

On white

2.11
#40CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#40CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC4E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC4E#FFFFFF#000000##000000
##40CC4E1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA40
Deuteranopia (green-blind)
#BFAE59
Tritanopia (blue-blind)
#0EC7B1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cc4e;
/* rgb */ color: rgb(64, 204, 78);
/* oklch */ color: oklch(74.5% 0.206 144.6);
Tailwind
colors: {
  custom: {
    50: '#87dd84',
    500: '#40cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #40cc4e;
$custom-light: #87dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc4e",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 126,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74473,
    "c": 0.20551,
    "h": 144.6
  },
  "luminance": 0.44826
}

Semantic roles & 50–950 ramp

primary
#40CC4E
secondary
#D295CC
accent
#47D2E1
background
#F9FDF8
surface
#F1FBEF
border
#CBD4CA
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

#40CC4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva