#40CC81#40CC81

#40CC81 is a light, vivid green. Relative luminance 0.459; OKLCH L 75.3% C 0.161 H 155.4°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#40CC81
RGBrgb(64, 204, 129)
HSLhsl(148, 58%, 53%)
HSVhsv(148, 69%, 80%)
CMYKcmyk(68.6%, 0%, 36.8%, 20%)
CIE-LABlab(73.45, -54.20, 26.81)
CIE-LCHlch(73.45, 60.47, 153.68°)
OKLaboklab(75.25% -0.1466 0.0672)
OKLCHoklch(75.25% 0.161 155.4)
XYZxyz(27.6671, 45.8576, 28.1579)
Luminance0.4586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC81 #CC408B
analogous
#45CC40 #40CC81 #40CCC7
triadic
#40CC81 #8140CC #CC8140
tetradic
#40CC81 #4045CC #CC408B #CCC740
square
#40CC81 #4045CC #CC408B #CCC740
split-complementary
#40CC81 #C740CC #CC4045
monochromatic
#1F7346 #2CA363 #40CC81 #70D9A1 #A1E6C1

Accessibility & contrast

On white

2.06
#40CC81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#40CC81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC81
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC81#FFFFFF#000000##000000
##40CC811.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBC7C
Deuteranopia (green-blind)
#BAAF86
Tritanopia (blue-blind)
#00CAB9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc81;
/* rgb */ color: rgb(64, 204, 129);
/* oklch */ color: oklch(75.3% 0.161 155.4);
Tailwind
colors: {
  custom: {
    50: '#86dca6',
    500: '#40cc81',
    950: '#000000',
  },
}
SCSS
$custom: #40cc81;
$custom-light: #86dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc81",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 129
  },
  "hsl": {
    "h": 147.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75254,
    "c": 0.16127,
    "h": 155.4
  },
  "luminance": 0.45861
}

Semantic roles & 50–950 ramp

primary
#40CC81
secondary
#D295B6
accent
#4799E1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CC81

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

Preview Lab → · Contrast checker → · Palette generator →

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