#40C752#40C752

#40C752 is a light, vivid green. Relative luminance 0.425; OKLCH L 73.2% C 0.196 H 145.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#40C752
RGBrgb(64, 199, 82)
HSLhsl(128, 55%, 52%)
HSVhsv(128, 68%, 78%)
CMYKcmyk(67.8%, 0%, 58.8%, 22%)
CIE-LABlab(71.24, -59.76, 47.30)
CIE-LCHlch(71.24, 76.22, 141.64°)
OKLaboklab(73.22% -0.1615 0.1117)
OKLCHoklch(73.22% 0.196 145.3)
XYZxyz(24.0592, 42.5435, 14.9248)
Luminance0.4255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C752 #C740B5
analogous
#72C740 #40C752 #40C796
triadic
#40C752 #5240C7 #C75240
tetradic
#40C752 #4072C7 #C740B5 #C79640
square
#40C752 #4072C7 #C740B5 #C79640
split-complementary
#40C752 #9640C7 #C74072
monochromatic
#206D2A #2E9C3C #40C752 #6FD57D #9FE3A8

Accessibility & contrast

On white

2.21
#40C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#40C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C752
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C752#FFFFFF#000000##000000
##40C7521.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#BAAA5B
Tritanopia (blue-blind)
#11C2AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c752;
/* rgb */ color: rgb(64, 199, 82);
/* oklch */ color: oklch(73.2% 0.196 145.3);
Tailwind
colors: {
  custom: {
    50: '#86d986',
    500: '#40c752',
    950: '#000000',
  },
}
SCSS
$custom: #40c752;
$custom-light: #86d986;
$custom-dark: #000000;
JSON
{
  "hex": "#40c752",
  "rgb": {
    "r": 64,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 128,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73219,
    "c": 0.19636,
    "h": 145.3
  },
  "luminance": 0.42546
}

Semantic roles & 50–950 ramp

primary
#40C752
secondary
#CF94C7
accent
#4ACADE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #40C752

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

Preview Lab → · Contrast checker → · Palette generator →

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