#40CF7E#40CF7E

#40CF7E is a light, vivid green. Relative luminance 0.472; OKLCH L 76.0% C 0.168 H 154.0°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#40CF7E
RGBrgb(64, 207, 126)
HSLhsl(146, 60%, 53%)
HSVhsv(146, 69%, 81%)
CMYKcmyk(69.1%, 0%, 39.1%, 18.8%)
CIE-LABlab(74.33, -55.91, 29.53)
CIE-LCHlch(74.33, 63.23, 152.16°)
OKLaboklab(75.96% -0.1509 0.0736)
OKLCHoklch(75.96% 0.168 154)
XYZxyz(28.1906, 47.2189, 27.3631)
Luminance0.4722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF7E #CF4091
analogous
#49CF40 #40CF7E #40CFC6
triadic
#40CF7E #7E40CF #CF7E40
tetradic
#40CF7E #4049CF #CF4091 #CFC640
square
#40CF7E #4049CF #CF4091 #CFC640
split-complementary
#40CF7E #C640CF #CF4049
monochromatic
#1E7744 #2AA861 #40CF7E #71DB9F #A2E8C0

Accessibility & contrast

On white

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

On black

10.44
#40CF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF7E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF7E#FFFFFF#000000##000000
##40CF7E1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40cf7e;
/* rgb */ color: rgb(64, 207, 126);
/* oklch */ color: oklch(76.0% 0.168 154.0);
Tailwind
colors: {
  custom: {
    50: '#86dfa4',
    500: '#40cf7e',
    950: '#000000',
  },
}
SCSS
$custom: #40cf7e;
$custom-light: #86dfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf7e",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 126
  },
  "hsl": {
    "h": 146.014,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75959,
    "c": 0.16792,
    "h": 154
  },
  "luminance": 0.47222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40CF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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