#40CC7A#40CC7A

#40CC7A is a light, vivid green. Relative luminance 0.457; OKLCH L 75.1% C 0.168 H 153.3°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#40CC7A
RGBrgb(64, 204, 122)
HSLhsl(145, 58%, 53%)
HSVhsv(145, 69%, 80%)
CMYKcmyk(68.6%, 0%, 40.2%, 20%)
CIE-LABlab(73.34, -55.50, 30.28)
CIE-LCHlch(73.34, 63.23, 151.38°)
OKLaboklab(75.12% -0.1498 0.0753)
OKLCHoklch(75.12% 0.168 153.3)
XYZxyz(27.2177, 45.6779, 25.7909)
Luminance0.4568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC7A #CC4092
analogous
#4CCC40 #40CC7A #40CCC0
triadic
#40CC7A #7A40CC #CC7A40
tetradic
#40CC7A #404CCC #CC4092 #CCC040
square
#40CC7A #404CCC #CC4092 #CCC040
split-complementary
#40CC7A #C040CC #CC404C
monochromatic
#1F7342 #2CA35D #40CC7A #70D99C #A1E6BD

Accessibility & contrast

On white

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

On black

10.14
#40CC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC7A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC7A#FFFFFF#000000##000000
##40CC7A1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC74
Deuteranopia (green-blind)
#BBAF7F
Tritanopia (blue-blind)
#00C9B8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc7a;
/* rgb */ color: rgb(64, 204, 122);
/* oklch */ color: oklch(75.1% 0.168 153.3);
Tailwind
colors: {
  custom: {
    50: '#86dda1',
    500: '#40cc7a',
    950: '#000000',
  },
}
SCSS
$custom: #40cc7a;
$custom-light: #86dda1;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc7a",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 144.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75119,
    "c": 0.16764,
    "h": 153.3
  },
  "luminance": 0.45681
}

Semantic roles & 50–950 ramp

primary
#40CC7A
secondary
#D295B9
accent
#47A1E1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #40CC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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