#40CC7C#40CC7C

#40CC7C is a light, vivid green. Relative luminance 0.457; OKLCH L 75.2% C 0.166 H 153.9°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#40CC7C
RGBrgb(64, 204, 124)
HSLhsl(146, 58%, 53%)
HSVhsv(146, 69%, 80%)
CMYKcmyk(68.6%, 0%, 39.2%, 20%)
CIE-LABlab(73.37, -55.14, 29.29)
CIE-LCHlch(73.37, 62.44, 152.02°)
OKLaboklab(75.16% -0.1489 0.073)
OKLCHoklch(75.16% 0.166 153.9)
XYZxyz(27.3429, 45.7279, 26.4502)
Luminance0.4573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC7C #CC4090
analogous
#4ACC40 #40CC7C #40CCC2
triadic
#40CC7C #7C40CC #CC7C40
tetradic
#40CC7C #404ACC #CC4090 #CCC240
square
#40CC7C #404ACC #CC4090 #CCC240
split-complementary
#40CC7C #C240CC #CC404A
monochromatic
#1F7343 #2CA35F #40CC7C #70D99D #A1E6BE

Accessibility & contrast

On white

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

On black

10.15
#40CC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40CC7C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40CC7C#FFFFFF#000000##000000
##40CC7C1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40cc7c;
/* rgb */ color: rgb(64, 204, 124);
/* oklch */ color: oklch(75.2% 0.166 153.9);
Tailwind
colors: {
  custom: {
    50: '#86dda2',
    500: '#40cc7c',
    950: '#000000',
  },
}
SCSS
$custom: #40cc7c;
$custom-light: #86dda2;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc7c",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 124
  },
  "hsl": {
    "h": 145.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75157,
    "c": 0.16581,
    "h": 153.9
  },
  "luminance": 0.45731
}

Semantic roles & 50–950 ramp

primary
#40CC7C
secondary
#D295B8
accent
#479FE1
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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