#40C64F#40C64F

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

Color values

HEX#40C64F
RGBrgb(64, 198, 79)
HSLhsl(127, 54%, 51%)
HSVhsv(127, 68%, 78%)
CMYKcmyk(67.7%, 0%, 60.1%, 22.4%)
CIE-LABlab(70.90, -59.77, 48.26)
CIE-LCHlch(70.90, 76.82, 141.08°)
OKLaboklab(72.92% -0.1616 0.1135)
OKLCHoklch(72.92% 0.198 144.9)
XYZxyz(23.7182, 42.0401, 14.2602)
Luminance0.4204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C64F #C640B7
analogous
#74C640 #40C64F #40C692
triadic
#40C64F #4F40C6 #C64F40
tetradic
#40C64F #4074C6 #C640B7 #C69240
square
#40C64F #4074C6 #C640B7 #C69240
split-complementary
#40C64F #9240C6 #C64074
monochromatic
#206C29 #2E9B3A #40C64F #6FD47A #9EE2A6

Accessibility & contrast

On white

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

On black

9.41
#40C64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C64F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C64F#FFFFFF#000000##000000
##40C64F1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#B9A959
Tritanopia (blue-blind)
#14C1AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #40c64f;
/* rgb */ color: rgb(64, 198, 79);
/* oklch */ color: oklch(72.9% 0.198 144.9);
Tailwind
colors: {
  custom: {
    50: '#86d884',
    500: '#40c64f',
    950: '#000000',
  },
}
SCSS
$custom: #40c64f;
$custom-light: #86d884;
$custom-dark: #000000;
JSON
{
  "hex": "#40c64f",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 79
  },
  "hsl": {
    "h": 126.716,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72923,
    "c": 0.19752,
    "h": 144.9
  },
  "luminance": 0.42043
}

Semantic roles & 50–950 ramp

primary
#40C64F
secondary
#CE93C8
accent
#4ACDDD
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #40C64F

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

Preview Lab → · Contrast checker → · Palette generator →

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