#40D752#40D752

#40D752 is a light, highly saturated green. Relative luminance 0.503; OKLCH L 77.4% C 0.215 H 144.9°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#40D752
RGBrgb(64, 215, 82)
HSLhsl(127, 65%, 55%)
HSVhsv(127, 70%, 84%)
CMYKcmyk(70.2%, 0%, 61.9%, 15.7%)
CIE-LABlab(76.25, -65.20, 53.04)
CIE-LCHlch(76.25, 84.05, 140.87°)
OKLaboklab(77.36% -0.1762 0.124)
OKLCHoklch(77.36% 0.215 144.9)
XYZxyz(27.9359, 50.2970, 16.2170)
Luminance0.5030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D752 #D740C5
analogous
#7AD740 #40D752 #40D79D
triadic
#40D752 #5240D7 #D75240
tetradic
#40D752 #407AD7 #D740C5 #D79D40
square
#40D752 #407AD7 #D740C5 #D79D40
split-complementary
#40D752 #9D40D7 #D7407A
monochromatic
#1B8127 #26B437 #40D752 #73E280 #A5ECAE

Accessibility & contrast

On white

1.90
#40D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#40D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D752
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D752#FFFFFF#000000##000000
##40D7521.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC343
Deuteranopia (green-blind)
#C9B75D
Tritanopia (blue-blind)
#00D1BB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d752;
/* rgb */ color: rgb(64, 215, 82);
/* oklch */ color: oklch(77.4% 0.215 144.9);
Tailwind
colors: {
  custom: {
    50: '#89e587',
    500: '#40d752',
    950: '#000000',
  },
}
SCSS
$custom: #40d752;
$custom-light: #89e587;
$custom-dark: #000000;
JSON
{
  "hex": "#40d752",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 127.152,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77364,
    "c": 0.21549,
    "h": 144.9
  },
  "luminance": 0.503
}

Semantic roles & 50–950 ramp

primary
#40D752
secondary
#88337E
accent
#3FD4E8
background
#FCFEFC
surface
#F4FCF3
border
#CED5CD
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D752

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

Preview Lab → · Contrast checker → · Palette generator →

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