#40CD52#40CD52

#40CD52 is a light, highly saturated green. Relative luminance 0.454; OKLCH L 74.8% C 0.204 H 145.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#40CD52
RGBrgb(64, 205, 82)
HSLhsl(128, 59%, 53%)
HSVhsv(128, 69%, 80%)
CMYKcmyk(68.8%, 0%, 60%, 19.6%)
CIE-LABlab(73.13, -61.83, 49.48)
CIE-LCHlch(73.13, 79.19, 141.33°)
OKLaboklab(74.78% -0.1671 0.1164)
OKLCHoklch(74.78% 0.204 145.1)
XYZxyz(25.4670, 45.3591, 15.3940)
Luminance0.4536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CD52 #CD40BB
analogous
#74CD40 #40CD52 #40CD99
triadic
#40CD52 #5240CD #CD5240
tetradic
#40CD52 #4074CD #CD40BB #CD9940
square
#40CD52 #4074CD #CD40BB #CD9940
split-complementary
#40CD52 #9940CD #CD4074
monochromatic
#1E7429 #2BA53B #40CD52 #71DA7E #A1E6AA

Accessibility & contrast

On white

2.08
#40CD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#40CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CD52
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CD52#FFFFFF#000000##000000
##40CD521.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB45
Deuteranopia (green-blind)
#C0AF5C
Tritanopia (blue-blind)
#08C8B2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cd52;
/* rgb */ color: rgb(64, 205, 82);
/* oklch */ color: oklch(74.8% 0.204 145.1);
Tailwind
colors: {
  custom: {
    50: '#87dd87',
    500: '#40cd52',
    950: '#000000',
  },
}
SCSS
$custom: #40cd52;
$custom-light: #87dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#40cd52",
  "rgb": {
    "r": 64,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 127.66,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74778,
    "c": 0.20364,
    "h": 145.1
  },
  "luminance": 0.45362
}

Semantic roles & 50–950 ramp

primary
#40CD52
secondary
#D396CB
accent
#46CEE2
background
#F9FDF8
surface
#F1FBF0
border
#CBD4CB
text
#0D150B
muted
#7E837C

Preview Lab

Preview with #40CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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