#40CD42#40CD42

#40CD42 is a light, highly saturated green. Relative luminance 0.451; OKLCH L 74.6% C 0.215 H 143.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#40CD42
RGBrgb(64, 205, 66)
HSLhsl(121, 59%, 53%)
HSVhsv(121, 69%, 80%)
CMYKcmyk(68.8%, 0%, 67.8%, 19.6%)
CIE-LABlab(72.99, -63.51, 56.08)
CIE-LCHlch(72.99, 84.73, 138.55°)
OKLaboklab(74.61% -0.1723 0.1288)
OKLCHoklch(74.61% 0.215 143.2)
XYZxyz(24.9275, 45.1433, 12.5530)
Luminance0.4515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CD42 #CD40CB
analogous
#84CD40 #40CD42 #40CD88
triadic
#40CD42 #4240CD #CD4240
tetradic
#40CD42 #4084CD #CD40CB #CD8840
square
#40CD42 #4084CD #CD40CB #CD8840
split-complementary
#40CD42 #8840CD #CD4084
monochromatic
#1E7420 #2BA52D #40CD42 #71DA72 #A1E6A2

Accessibility & contrast

On white

2.09
#40CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#40CD42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CD42
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CD42#FFFFFF#000000##000000
##40CD421.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2E
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#16C7B1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #40cd42;
/* rgb */ color: rgb(64, 205, 66);
/* oklch */ color: oklch(74.6% 0.215 143.2);
Tailwind
colors: {
  custom: {
    50: '#88dd7d',
    500: '#40cd42',
    950: '#000000',
  },
}
SCSS
$custom: #40cd42;
$custom-light: #88dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#40cd42",
  "rgb": {
    "r": 64,
    "g": 205,
    "b": 66
  },
  "hsl": {
    "h": 120.851,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74615,
    "c": 0.21518,
    "h": 143.2
  },
  "luminance": 0.45146
}

Semantic roles & 50–950 ramp

primary
#40CD42
secondary
#D396D2
accent
#46E0E2
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #40CD42

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

Preview Lab → · Contrast checker → · Palette generator →

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