#40CC40#40CC40

#40CC40 is a light, highly saturated green. Relative luminance 0.446; OKLCH L 74.3% C 0.215 H 143.0°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#40CC40
RGBrgb(64, 204, 64)
HSLhsl(120, 58%, 53%)
HSVhsv(120, 69%, 80%)
CMYKcmyk(68.6%, 0%, 68.6%, 20%)
CIE-LABlab(72.66, -63.36, 56.52)
CIE-LCHlch(72.66, 84.91, 138.27°)
OKLaboklab(74.34% -0.172 0.1295)
OKLCHoklch(74.34% 0.215 143)
XYZxyz(24.6312, 44.6432, 12.1684)
Luminance0.4465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC40 #CC40CC
analogous
#86CC40 #40CC40 #40CC86
triadic
#40CC40 #4040CC #CC4040
tetradic
#40CC40 #4086CC #CC40CC #CC8640
square
#40CC40 #4086CC #CC40CC #CC8640
split-complementary
#40CC40 #8640CC #CC4086
monochromatic
#1F731F #2CA32C #40CC40 #70D970 #A1E6A1

Accessibility & contrast

On white

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

On black

9.93
#40CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC40
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC40#FFFFFF#000000##000000
##40CC401.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#18C6B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cc40;
/* rgb */ color: rgb(64, 204, 64);
/* oklch */ color: oklch(74.3% 0.215 143.0);
Tailwind
colors: {
  custom: {
    50: '#88dd7c',
    500: '#40cc40',
    950: '#000000',
  },
}
SCSS
$custom: #40cc40;
$custom-light: #88dd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc40",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 120,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.21534,
    "h": 143
  },
  "luminance": 0.44646
}

Semantic roles & 50–950 ramp

primary
#40CC40
secondary
#D295D2
accent
#47E1E1
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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