#40CC42#40CC42

#40CC42 is a light, highly saturated green. Relative luminance 0.447; OKLCH L 74.4% C 0.214 H 143.2°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#40CC42
RGBrgb(64, 204, 66)
HSLhsl(121, 58%, 53%)
HSVhsv(121, 69%, 80%)
CMYKcmyk(68.6%, 0%, 67.6%, 20%)
CIE-LABlab(72.67, -63.18, 55.75)
CIE-LCHlch(72.67, 84.26, 138.58°)
OKLaboklab(74.35% -0.1714 0.1281)
OKLCHoklch(74.35% 0.214 143.2)
XYZxyz(24.6891, 44.6664, 12.4735)
Luminance0.4467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC42 #CC40CA
analogous
#84CC40 #40CC42 #40CC88
triadic
#40CC42 #4240CC #CC4240
tetradic
#40CC42 #4084CC #CC40CA #CC8840
square
#40CC42 #4084CC #CC40CA #CC8840
split-complementary
#40CC42 #8840CC #CC4084
monochromatic
#1F7320 #2CA32D #40CC42 #70D972 #A1E6A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40CC42#FFFFFF#000000##000000
##40CC421.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)
#D0B92F
Deuteranopia (green-blind)
#C0AE4F
Tritanopia (blue-blind)
#16C6B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #40cc42;
/* rgb */ color: rgb(64, 204, 66);
/* oklch */ color: oklch(74.4% 0.214 143.2);
Tailwind
colors: {
  custom: {
    50: '#88dd7d',
    500: '#40cc42',
    950: '#000000',
  },
}
SCSS
$custom: #40cc42;
$custom-light: #88dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc42",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 120.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.21404,
    "h": 143.2
  },
  "luminance": 0.44669
}

Semantic roles & 50–950 ramp

primary
#40CC42
secondary
#D295D1
accent
#47DFE1
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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