#40C64D#40C64D

#40C64D is a light, vivid green. Relative luminance 0.420; OKLCH L 72.9% C 0.199 H 144.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#40C64D
RGBrgb(64, 198, 77)
HSLhsl(126, 54%, 51%)
HSVhsv(126, 68%, 78%)
CMYKcmyk(67.7%, 0%, 61.1%, 22.4%)
CIE-LABlab(70.88, -60.01, 49.13)
CIE-LCHlch(70.88, 77.55, 140.69°)
OKLaboklab(72.9% -0.1623 0.1152)
OKLCHoklch(72.9% 0.199 144.6)
XYZxyz(23.6465, 42.0115, 13.8826)
Luminance0.4201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C64D #C640B9
analogous
#76C640 #40C64D #40C690
triadic
#40C64D #4D40C6 #C64D40
tetradic
#40C64D #4076C6 #C640B9 #C69040
square
#40C64D #4076C6 #C640B9 #C69040
split-complementary
#40C64D #9040C6 #C64076
monochromatic
#206C27 #2E9B39 #40C64D #6FD479 #9EE2A5

Accessibility & contrast

On white

2.23
#40C64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#40C64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C64D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C64D#FFFFFF#000000##000000
##40C64D1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B440
Deuteranopia (green-blind)
#B9A957
Tritanopia (blue-blind)
#16C1AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c64d;
/* rgb */ color: rgb(64, 198, 77);
/* oklch */ color: oklch(72.9% 0.199 144.6);
Tailwind
colors: {
  custom: {
    50: '#86d883',
    500: '#40c64d',
    950: '#000000',
  },
}
SCSS
$custom: #40c64d;
$custom-light: #86d883;
$custom-dark: #000000;
JSON
{
  "hex": "#40c64d",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 125.821,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.729,
    "c": 0.19908,
    "h": 144.6
  },
  "luminance": 0.42014
}

Semantic roles & 50–950 ramp

primary
#40C64D
secondary
#CE93C9
accent
#4ACFDD
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0D150B
muted
#7D837C

Preview Lab

Preview with #40C64D

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

Preview Lab → · Contrast checker → · Palette generator →

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