#40D887#40D887

#40D887 is a light, vivid green. Relative luminance 0.520; OKLCH L 78.4% C 0.171 H 155.2°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#40D887
RGBrgb(64, 216, 135)
HSLhsl(148, 66%, 55%)
HSVhsv(148, 70%, 85%)
CMYKcmyk(70.4%, 0%, 37.5%, 15.3%)
CIE-LABlab(77.25, -57.61, 28.77)
CIE-LCHlch(77.25, 64.40, 153.47°)
OKLaboklab(78.41% -0.1557 0.072)
OKLCHoklch(78.41% 0.171 155.2)
XYZxyz(31.0405, 51.9475, 31.3079)
Luminance0.5195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D887 #D84091
analogous
#45D840 #40D887 #40D8D3
triadic
#40D887 #8740D8 #D88740
tetradic
#40D887 #4045D8 #D84091 #D8D340
square
#40D887 #4045D8 #D84091 #D8D340
split-complementary
#40D887 #D340D8 #D84045
monochromatic
#1B834B #25B669 #40D887 #73E2A7 #A6EDC7

Accessibility & contrast

On white

1.84
#40D887 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#40D887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D887
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D887#FFFFFF#000000##000000
##40D8871.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C782
Deuteranopia (green-blind)
#C4B98C
Tritanopia (blue-blind)
#00D6C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d887;
/* rgb */ color: rgb(64, 216, 135);
/* oklch */ color: oklch(78.4% 0.171 155.2);
Tailwind
colors: {
  custom: {
    50: '#88e5aa',
    500: '#40d887',
    950: '#000000',
  },
}
SCSS
$custom: #40d887;
$custom-light: #88e5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40d887",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 135
  },
  "hsl": {
    "h": 148.026,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78414,
    "c": 0.17149,
    "h": 155.2
  },
  "luminance": 0.51951
}

Semantic roles & 50–950 ramp

primary
#40D887
secondary
#8A3361
accent
#3F9AE9
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D887

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

Preview Lab → · Contrast checker → · Palette generator →

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