#40CF80#40CF80

#40CF80 is a light, vivid green. Relative luminance 0.473; OKLCH L 76.0% C 0.166 H 154.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#40CF80
RGBrgb(64, 207, 128)
HSLhsl(147, 60%, 53%)
HSVhsv(147, 69%, 81%)
CMYKcmyk(69.1%, 0%, 38.2%, 18.8%)
CIE-LABlab(74.36, -55.54, 28.54)
CIE-LCHlch(74.36, 62.44, 152.80°)
OKLaboklab(76% -0.15 0.0713)
OKLCHoklch(76% 0.166 154.6)
XYZxyz(28.3209, 47.2710, 28.0495)
Luminance0.4727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF80 #CF408F
analogous
#47CF40 #40CF80 #40CFC7
triadic
#40CF80 #8040CF #CF8040
tetradic
#40CF80 #4047CF #CF408F #CFC740
square
#40CF80 #4047CF #CF408F #CFC740
split-complementary
#40CF80 #C740CF #CF4047
monochromatic
#1E7746 #2AA862 #40CF80 #71DBA1 #A2E8C1

Accessibility & contrast

On white

2.01
#40CF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#40CF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF80
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF80#FFFFFF#000000##000000
##40CF801.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE7B
Deuteranopia (green-blind)
#BDB285
Tritanopia (blue-blind)
#00CDBB
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40cf80;
/* rgb */ color: rgb(64, 207, 128);
/* oklch */ color: oklch(76.0% 0.166 154.6);
Tailwind
colors: {
  custom: {
    50: '#86dfa5',
    500: '#40cf80',
    950: '#000000',
  },
}
SCSS
$custom: #40cf80;
$custom-light: #86dfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf80",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 128
  },
  "hsl": {
    "h": 146.853,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.16611,
    "h": 154.6
  },
  "luminance": 0.47274
}

Semantic roles & 50–950 ramp

primary
#40CF80
secondary
#D497B9
accent
#459CE3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #40CF80

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

Preview Lab → · Contrast checker → · Palette generator →

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