#40D865#40D865

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

Color values

HEX#40D865
RGBrgb(64, 216, 101)
HSLhsl(135, 66%, 55%)
HSVhsv(135, 70%, 85%)
CMYKcmyk(70.4%, 0%, 53.2%, 15.3%)
CIE-LABlab(76.76, -63.17, 45.03)
CIE-LCHlch(76.76, 77.57, 144.52°)
OKLaboklab(77.85% -0.1701 0.1081)
OKLCHoklch(77.85% 0.202 147.6)
XYZxyz(29.0170, 51.1381, 20.6508)
Luminance0.5114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D865 #D840B3
analogous
#67D840 #40D865 #40D8B1
triadic
#40D865 #6540D8 #D86540
tetradic
#40D865 #4067D8 #D840B3 #D8B140
square
#40D865 #4067D8 #D840B3 #D8B140
split-complementary
#40D865 #B140D8 #D84067
monochromatic
#1B8334 #25B648 #40D865 #73E28E #A6EDB7

Accessibility & contrast

On white

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

On black

11.23
#40D865 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D865
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D865#FFFFFF#000000##000000
##40D8651.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d865;
/* rgb */ color: rgb(64, 216, 101);
/* oklch */ color: oklch(77.9% 0.202 147.6);
Tailwind
colors: {
  custom: {
    50: '#89e593',
    500: '#40d865',
    950: '#000000',
  },
}
SCSS
$custom: #40d865;
$custom-light: #89e593;
$custom-dark: #000000;
JSON
{
  "hex": "#40d865",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 101
  },
  "hsl": {
    "h": 134.605,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77853,
    "c": 0.20156,
    "h": 147.6
  },
  "luminance": 0.51141
}

Semantic roles & 50–950 ramp

primary
#40D865
secondary
#8A3374
accent
#3FC0E9
background
#FCFEFC
surface
#F4FCF4
border
#CED5CE
text
#0D160D
muted
#7F847F

Preview Lab

Preview with #40D865

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

Preview Lab → · Contrast checker → · Palette generator →

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