#40E587#40E587

#40E587 is a light, vivid green. Relative luminance 0.589; OKLCH L 81.7% C 0.188 H 153.3°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#40E587
RGBrgb(64, 229, 135)
HSLhsl(146, 76%, 57%)
HSVhsv(146, 72%, 90%)
CMYKcmyk(72.1%, 0%, 41%, 10.2%)
CIE-LABlab(81.22, -62.38, 34.02)
CIE-LCHlch(81.22, 71.05, 151.40°)
OKLaboklab(81.69% -0.1681 0.0844)
OKLCHoklch(81.69% 0.188 153.3)
XYZxyz(34.5037, 58.8739, 32.4623)
Luminance0.5888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40E587 #E5409E
analogous
#4CE540 #40E587 #40E5D9
triadic
#40E587 #8740E5 #E58740
tetradic
#40E587 #404CE5 #E5409E #E5D940
square
#40E587 #404CE5 #E5409E #E5D940
split-complementary
#40E587 #D940E5 #E5404C
monochromatic
#14964C #1CCC68 #40E587 #76ECA9 #ACF4CB

Accessibility & contrast

On white

1.64
#40E587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#40E587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40E587
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40E587#FFFFFF#000000##000000
##40E5871.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D280
Deuteranopia (green-blind)
#D1C48D
Tritanopia (blue-blind)
#00E2CE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #40e587;
/* rgb */ color: rgb(64, 229, 135);
/* oklch */ color: oklch(81.7% 0.188 153.3);
Tailwind
colors: {
  custom: {
    50: '#8aeeab',
    500: '#40e587',
    950: '#000000',
  },
}
SCSS
$custom: #40e587;
$custom-light: #8aeeab;
$custom-dark: #000000;
JSON
{
  "hex": "#40e587",
  "rgb": {
    "r": 64,
    "g": 229,
    "b": 135
  },
  "hsl": {
    "h": 145.818,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.18808,
    "h": 153.3
  },
  "luminance": 0.58878
}

Semantic roles & 50–950 ramp

primary
#40E587
secondary
#9A2F6C
accent
#35A1F3
background
#FCFFFD
surface
#F4FEF7
border
#CED6D0
text
#0D1710
muted
#7F8581

Preview Lab

Preview with #40E587

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

Preview Lab → · Contrast checker → · Palette generator →

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