#40C651#40C651

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

Color values

HEX#40C651
RGBrgb(64, 198, 81)
HSLhsl(128, 54%, 51%)
HSVhsv(128, 68%, 78%)
CMYKcmyk(67.7%, 0%, 59.1%, 22.4%)
CIE-LABlab(70.92, -59.54, 47.38)
CIE-LCHlch(70.92, 76.09, 141.49°)
OKLaboklab(72.95% -0.1609 0.1118)
OKLCHoklch(72.95% 0.196 145.2)
XYZxyz(23.7921, 42.0697, 14.6494)
Luminance0.4207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C651 #C640B5
analogous
#72C640 #40C651 #40C694
triadic
#40C651 #5140C6 #C65140
tetradic
#40C651 #4072C6 #C640B5 #C69440
square
#40C651 #4072C6 #C640B5 #C69440
split-complementary
#40C651 #9440C6 #C64072
monochromatic
#206C2A #2E9B3C #40C651 #6FD47C #9EE2A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C651#FFFFFF#000000##000000
##40C6511.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)
#C9B445
Deuteranopia (green-blind)
#B9A95A
Tritanopia (blue-blind)
#13C1AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #40c651;
/* rgb */ color: rgb(64, 198, 81);
/* oklch */ color: oklch(72.9% 0.196 145.2);
Tailwind
colors: {
  custom: {
    50: '#86d885',
    500: '#40c651',
    950: '#000000',
  },
}
SCSS
$custom: #40c651;
$custom-light: #86d885;
$custom-dark: #000000;
JSON
{
  "hex": "#40c651",
  "rgb": {
    "r": 64,
    "g": 198,
    "b": 81
  },
  "hsl": {
    "h": 127.612,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72947,
    "c": 0.19594,
    "h": 145.2
  },
  "luminance": 0.42072
}

Semantic roles & 50–950 ramp

primary
#40C651
secondary
#CE93C7
accent
#4ACBDD
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #40C651

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

Preview Lab → · Contrast checker → · Palette generator →

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