#40D861#40D861

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

Color values

HEX#40D861
RGBrgb(64, 216, 97)
HSLhsl(133, 66%, 55%)
HSVhsv(133, 70%, 85%)
CMYKcmyk(70.4%, 0%, 55.1%, 15.3%)
CIE-LABlab(76.72, -63.71, 46.85)
CIE-LCHlch(76.72, 79.08, 143.67°)
OKLaboklab(77.8% -0.1717 0.1118)
OKLCHoklch(77.8% 0.205 146.9)
XYZxyz(28.8258, 51.0616, 19.6436)
Luminance0.5107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D861 #D840B7
analogous
#6BD840 #40D861 #40D8AD
triadic
#40D861 #6140D8 #D86140
tetradic
#40D861 #406BD8 #D840B7 #D8AD40
square
#40D861 #406BD8 #D840B7 #D8AD40
split-complementary
#40D861 #AD40D8 #D8406B
monochromatic
#1B8331 #25B644 #40D861 #73E28B #A6EDB5

Accessibility & contrast

On white

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

On black

11.21
#40D861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D861
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D861#FFFFFF#000000##000000
##40D8611.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC556
Deuteranopia (green-blind)
#C9B86A
Tritanopia (blue-blind)
#00D3BD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d861;
/* rgb */ color: rgb(64, 216, 97);
/* oklch */ color: oklch(77.8% 0.205 146.9);
Tailwind
colors: {
  custom: {
    50: '#89e591',
    500: '#40d861',
    950: '#000000',
  },
}
SCSS
$custom: #40d861;
$custom-light: #89e591;
$custom-dark: #000000;
JSON
{
  "hex": "#40d861",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 133.026,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77799,
    "c": 0.20489,
    "h": 146.9
  },
  "luminance": 0.51065
}

Semantic roles & 50–950 ramp

primary
#40D861
secondary
#8A3377
accent
#3FC4E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160D
muted
#7F847F

Preview Lab

Preview with #40D861

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

Preview Lab → · Contrast checker → · Palette generator →

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