#40CF7A#40CF7A

#40CF7A is a light, vivid green. Relative luminance 0.471; OKLCH L 75.9% C 0.172 H 152.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#40CF7A
RGBrgb(64, 207, 122)
HSLhsl(144, 60%, 53%)
HSVhsv(144, 69%, 81%)
CMYKcmyk(69.1%, 0%, 41.1%, 18.8%)
CIE-LABlab(74.27, -56.63, 31.50)
CIE-LCHlch(74.27, 64.80, 150.91°)
OKLaboklab(75.89% -0.1527 0.0781)
OKLCHoklch(75.89% 0.172 152.9)
XYZxyz(27.9376, 47.1177, 26.0308)
Luminance0.4712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CF7A #CF4095
analogous
#4DCF40 #40CF7A #40CFC2
triadic
#40CF7A #7A40CF #CF7A40
tetradic
#40CF7A #404DCF #CF4095 #CFC240
square
#40CF7A #404DCF #CF4095 #CFC240
split-complementary
#40CF7A #C240CF #CF404D
monochromatic
#1E7742 #2AA85D #40CF7A #71DB9C #A2E8BE

Accessibility & contrast

On white

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

On black

10.42
#40CF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CF7A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CF7A#FFFFFF#000000##000000
##40CF7A1.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBE74
Deuteranopia (green-blind)
#BDB280
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #40cf7a;
/* rgb */ color: rgb(64, 207, 122);
/* oklch */ color: oklch(75.9% 0.172 152.9);
Tailwind
colors: {
  custom: {
    50: '#86dfa1',
    500: '#40cf7a',
    950: '#000000',
  },
}
SCSS
$custom: #40cf7a;
$custom-light: #86dfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#40cf7a",
  "rgb": {
    "r": 64,
    "g": 207,
    "b": 122
  },
  "hsl": {
    "h": 144.336,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75885,
    "c": 0.17156,
    "h": 152.9
  },
  "luminance": 0.47121
}

Semantic roles & 50–950 ramp

primary
#40CF7A
secondary
#D497BB
accent
#45A3E3
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #40CF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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