#40CC72#40CC72

#40CC72 is a light, vivid green. Relative luminance 0.455; OKLCH L 75.0% C 0.175 H 151.2°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#40CC72
RGBrgb(64, 204, 114)
HSLhsl(141, 58%, 53%)
HSVhsv(141, 69%, 80%)
CMYKcmyk(68.6%, 0%, 44.1%, 20%)
CIE-LABlab(73.21, -56.90, 34.21)
CIE-LCHlch(73.21, 66.39, 148.98°)
OKLaboklab(74.98% -0.1533 0.0842)
OKLCHoklch(74.98% 0.175 151.2)
XYZxyz(26.7423, 45.4877, 23.2870)
Luminance0.4549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC72 #CC409A
analogous
#54CC40 #40CC72 #40CCB8
triadic
#40CC72 #7240CC #CC7240
tetradic
#40CC72 #4054CC #CC409A #CCB840
square
#40CC72 #4054CC #CC409A #CCB840
split-complementary
#40CC72 #B840CC #CC4054
monochromatic
#1F733D #2CA356 #40CC72 #70D996 #A1E6B9

Accessibility & contrast

On white

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

On black

10.10
#40CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC72
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC72#FFFFFF#000000##000000
##40CC721.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#BCAF78
Tritanopia (blue-blind)
#00C9B6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc72;
/* rgb */ color: rgb(64, 204, 114);
/* oklch */ color: oklch(75.0% 0.175 151.2);
Tailwind
colors: {
  custom: {
    50: '#86dd9b',
    500: '#40cc72',
    950: '#000000',
  },
}
SCSS
$custom: #40cc72;
$custom-light: #86dd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc72",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 141.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74976,
    "c": 0.17493,
    "h": 151.2
  },
  "luminance": 0.45491
}

Semantic roles & 50–950 ramp

primary
#40CC72
secondary
#D295BD
accent
#47AAE1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #40CC72

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

Preview Lab → · Contrast checker → · Palette generator →

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