#40D864#40D864

#40D864 is a light, highly saturated green. Relative luminance 0.511; OKLCH L 77.8% C 0.202 H 147.4°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#40D864
RGBrgb(64, 216, 100)
HSLhsl(134, 66%, 55%)
HSVhsv(134, 70%, 85%)
CMYKcmyk(70.4%, 0%, 53.7%, 15.3%)
CIE-LABlab(76.75, -63.30, 45.48)
CIE-LCHlch(76.75, 77.95, 144.30°)
OKLaboklab(77.84% -0.1705 0.109)
OKLCHoklch(77.84% 0.202 147.4)
XYZxyz(28.9683, 51.1186, 20.3943)
Luminance0.5112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D864 #D840B4
analogous
#68D840 #40D864 #40D8B0
triadic
#40D864 #6440D8 #D86440
tetradic
#40D864 #4068D8 #D840B4 #D8B040
square
#40D864 #4068D8 #D840B4 #D8B040
split-complementary
#40D864 #B040D8 #D84068
monochromatic
#1B8333 #25B647 #40D864 #73E28D #A6EDB6

Accessibility & contrast

On white

1.87
#40D864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#40D864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D864
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D864#FFFFFF#000000##000000
##40D8641.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC559
Deuteranopia (green-blind)
#C8B86D
Tritanopia (blue-blind)
#00D3BE
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d864;
/* rgb */ color: rgb(64, 216, 100);
/* oklch */ color: oklch(77.8% 0.202 147.4);
Tailwind
colors: {
  custom: {
    50: '#89e593',
    500: '#40d864',
    950: '#000000',
  },
}
SCSS
$custom: #40d864;
$custom-light: #89e593;
$custom-dark: #000000;
JSON
{
  "hex": "#40d864",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 134.211,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77839,
    "c": 0.2024,
    "h": 147.4
  },
  "luminance": 0.51122
}

Semantic roles & 50–950 ramp

primary
#40D864
secondary
#8A3375
accent
#3FC1E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160D
muted
#7F847F

Preview Lab

Preview with #40D864

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

Preview Lab → · Contrast checker → · Palette generator →

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