#40D587#40D587

#40D587 is a light, vivid green. Relative luminance 0.504; OKLCH L 77.7% C 0.168 H 155.7°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#40D587
RGBrgb(64, 213, 135)
HSLhsl(149, 64%, 54%)
HSVhsv(149, 70%, 84%)
CMYKcmyk(70%, 0%, 36.6%, 16.5%)
CIE-LABlab(76.33, -56.49, 27.54)
CIE-LCHlch(76.33, 62.84, 154.01°)
OKLaboklab(77.66% -0.1527 0.069)
OKLCHoklch(77.66% 0.168 155.7)
XYZxyz(30.2790, 50.4243, 31.0541)
Luminance0.5043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D587 #D5408E
analogous
#44D540 #40D587 #40D5D2
triadic
#40D587 #8740D5 #D58740
tetradic
#40D587 #4044D5 #D5408E #D5D240
square
#40D587 #4044D5 #D5408E #D5D240
split-complementary
#40D587 #D240D5 #D54044
monochromatic
#1C7F4B #27B169 #40D587 #72E0A7 #A4EBC6

Accessibility & contrast

On white

1.89
#40D587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#40D587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D587
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D587#FFFFFF#000000##000000
##40D5871.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C482
Deuteranopia (green-blind)
#C1B78C
Tritanopia (blue-blind)
#00D3C1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d587;
/* rgb */ color: rgb(64, 213, 135);
/* oklch */ color: oklch(77.7% 0.168 155.7);
Tailwind
colors: {
  custom: {
    50: '#87e3aa',
    500: '#40d587',
    950: '#000000',
  },
}
SCSS
$custom: #40d587;
$custom-light: #87e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#40d587",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 148.591,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77656,
    "c": 0.16762,
    "h": 155.7
  },
  "luminance": 0.50428
}

Semantic roles & 50–950 ramp

primary
#40D587
secondary
#86335F
accent
#4198E7
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D587

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

Preview Lab → · Contrast checker → · Palette generator →

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