#40CC7D#40CC7D

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

Color values

HEX#40CC7D
RGBrgb(64, 204, 125)
HSLhsl(146, 58%, 53%)
HSVhsv(146, 69%, 80%)
CMYKcmyk(68.6%, 0%, 38.7%, 20%)
CIE-LABlab(73.39, -54.96, 28.80)
CIE-LCHlch(73.39, 62.04, 152.35°)
OKLaboklab(75.18% -0.1484 0.0718)
OKLCHoklch(75.18% 0.165 154.2)
XYZxyz(27.4065, 45.7534, 26.7850)
Luminance0.4576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40CC7D #CC408F
analogous
#49CC40 #40CC7D #40CCC3
triadic
#40CC7D #7D40CC #CC7D40
tetradic
#40CC7D #4049CC #CC408F #CCC340
square
#40CC7D #4049CC #CC408F #CCC340
split-complementary
#40CC7D #C340CC #CC4049
monochromatic
#1F7343 #2CA360 #40CC7D #70D99E #A1E6BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40CC7D#FFFFFF#000000##000000
##40CC7D1.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)
#CCBC78
Deuteranopia (green-blind)
#BAAF82
Tritanopia (blue-blind)
#00CAB8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #40cc7d;
/* rgb */ color: rgb(64, 204, 125);
/* oklch */ color: oklch(75.2% 0.165 154.2);
Tailwind
colors: {
  custom: {
    50: '#86dda3',
    500: '#40cc7d',
    950: '#000000',
  },
}
SCSS
$custom: #40cc7d;
$custom-light: #86dda3;
$custom-dark: #000000;
JSON
{
  "hex": "#40cc7d",
  "rgb": {
    "r": 64,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 146.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75176,
    "c": 0.16491,
    "h": 154.2
  },
  "luminance": 0.45756
}

Semantic roles & 50–950 ramp

primary
#40CC7D
secondary
#D295B8
accent
#479EE1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40CC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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