#40CC7E#40CC7E

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

Color values

HEX#40CC7E
RGBrgb(64, 204, 126)
HSLhsl(147, 58%, 53%)
HSVhsv(147, 69%, 80%)
CMYKcmyk(68.6%, 0%, 38.2%, 20%)
CIE-LABlab(73.40, -54.77, 28.30)
CIE-LCHlch(73.40, 61.65, 152.67°)
OKLaboklab(75.2% -0.148 0.0707)
OKLCHoklch(75.2% 0.164 154.5)
XYZxyz(27.4707, 45.7790, 27.1231)
Luminance0.4578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC7E #CC408E
analogous
#48CC40 #40CC7E #40CCC4
triadic
#40CC7E #7E40CC #CC7E40
tetradic
#40CC7E #4048CC #CC408E #CCC440
square
#40CC7E #4048CC #CC408E #CCC440
split-complementary
#40CC7E #C440CC #CC4048
monochromatic
#1F7344 #2CA361 #40CC7E #70D99F #A1E6BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40CC7E#FFFFFF#000000##000000
##40CC7E1.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)
#CCBC79
Deuteranopia (green-blind)
#BAAF83
Tritanopia (blue-blind)
#00CAB8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc7e;
/* rgb */ color: rgb(64, 204, 126);
/* oklch */ color: oklch(75.2% 0.164 154.5);
Tailwind
colors: {
  custom: {
    50: '#86dca4',
    500: '#40cc7e',
    950: '#000000',
  },
}
SCSS
$custom: #40cc7e;
$custom-light: #86dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc7e",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 146.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75195,
    "c": 0.16399,
    "h": 154.5
  },
  "luminance": 0.45782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40CC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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