#40CF71#40CF71

#40CF71 is a light, vivid green. Relative luminance 0.469; OKLCH L 75.7% C 0.180 H 150.7°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#40CF71
RGBrgb(64, 207, 113)
HSLhsl(141, 60%, 53%)
HSVhsv(141, 69%, 81%)
CMYKcmyk(69.1%, 0%, 45.4%, 18.8%)
CIE-LABlab(74.13, -58.16, 35.89)
CIE-LCHlch(74.13, 68.35, 148.32°)
OKLaboklab(75.73% -0.1567 0.0881)
OKLCHoklch(75.73% 0.18 150.7)
XYZxyz(27.4056, 46.9049, 23.2288)
Luminance0.4691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF71 #CF409E
analogous
#56CF40 #40CF71 #40CFB8
triadic
#40CF71 #7140CF #CF7140
tetradic
#40CF71 #4056CF #CF409E #CFB840
square
#40CF71 #4056CF #CF409E #CFB840
split-complementary
#40CF71 #B840CF #CF4056
monochromatic
#1E773C #2AA855 #40CF71 #71DB95 #A2E8BA

Accessibility & contrast

On white

2.02
#40CF71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#40CF71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF71
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF71#FFFFFF#000000##000000
##40CF711.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6A
Deuteranopia (green-blind)
#BFB178
Tritanopia (blue-blind)
#00CCB8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #40cf71;
/* rgb */ color: rgb(64, 207, 113);
/* oklch */ color: oklch(75.7% 0.180 150.7);
Tailwind
colors: {
  custom: {
    50: '#86df9b',
    500: '#40cf71',
    950: '#000000',
  },
}
SCSS
$custom: #40cf71;
$custom-light: #86df9b;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf71",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 113
  },
  "hsl": {
    "h": 140.559,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75728,
    "c": 0.17972,
    "h": 150.7
  },
  "luminance": 0.46908
}

Semantic roles & 50–950 ramp

primary
#40CF71
secondary
#D497BF
accent
#45ADE3
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150E
muted
#7D837E

Preview Lab

Preview with #40CF71

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

Preview Lab → · Contrast checker → · Palette generator →

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