#40CC7F#40CC7F

#40CC7F is a light, vivid green. Relative luminance 0.458; OKLCH L 75.2% C 0.163 H 154.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#40CC7F
RGBrgb(64, 204, 127)
HSLhsl(147, 58%, 53%)
HSVhsv(147, 69%, 80%)
CMYKcmyk(68.6%, 0%, 37.7%, 20%)
CIE-LABlab(73.42, -54.58, 27.80)
CIE-LCHlch(73.42, 61.26, 153.01°)
OKLaboklab(75.21% -0.1475 0.0695)
OKLCHoklch(75.21% 0.163 154.8)
XYZxyz(27.5355, 45.8050, 27.4646)
Luminance0.4581 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC7F #CC408D
analogous
#47CC40 #40CC7F #40CCC5
triadic
#40CC7F #7F40CC #CC7F40
tetradic
#40CC7F #4047CC #CC408D #CCC540
square
#40CC7F #4047CC #CC408D #CCC540
split-complementary
#40CC7F #C540CC #CC4047
monochromatic
#1F7345 #2CA361 #40CC7F #70D99F #A1E6C0

Accessibility & contrast

On white

2.07
#40CC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#40CC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC7F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC7F#FFFFFF#000000##000000
##40CC7F1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBC7A
Deuteranopia (green-blind)
#BAAF84
Tritanopia (blue-blind)
#00CAB8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc7f;
/* rgb */ color: rgb(64, 204, 127);
/* oklch */ color: oklch(75.2% 0.163 154.8);
Tailwind
colors: {
  custom: {
    50: '#86dca4',
    500: '#40cc7f',
    950: '#000000',
  },
}
SCSS
$custom: #40cc7f;
$custom-light: #86dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc7f",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 127
  },
  "hsl": {
    "h": 147,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75214,
    "c": 0.16309,
    "h": 154.8
  },
  "luminance": 0.45808
}

Semantic roles & 50–950 ramp

primary
#40CC7F
secondary
#D295B7
accent
#479CE1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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