#40C87E#40C87E

#40C87E is a light, vivid green. Relative luminance 0.439; OKLCH L 74.2% C 0.159 H 155.1°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#40C87E
RGBrgb(64, 200, 126)
HSLhsl(147, 55%, 52%)
HSVhsv(147, 68%, 78%)
CMYKcmyk(68%, 0%, 37%, 21.6%)
CIE-LABlab(72.16, -53.24, 26.65)
CIE-LCHlch(72.16, 59.54, 153.41°)
OKLaboklab(74.18% -0.144 0.0667)
OKLCHoklch(74.18% 0.159 155.1)
XYZxyz(26.5321, 43.9020, 26.8103)
Luminance0.4390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C87E #C8408A
analogous
#46C840 #40C87E #40C8C2
triadic
#40C87E #7E40C8 #C87E40
tetradic
#40C87E #4046C8 #C8408A #C8C240
square
#40C87E #4046C8 #C8408A #C8C240
split-complementary
#40C87E #C240C8 #C84046
monochromatic
#206E43 #2D9D60 #40C87E #70D69E #9FE3BE

Accessibility & contrast

On white

2.15
#40C87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#40C87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C87E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C87E#FFFFFF#000000##000000
##40C87E1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B879
Deuteranopia (green-blind)
#B6AC83
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c87e;
/* rgb */ color: rgb(64, 200, 126);
/* oklch */ color: oklch(74.2% 0.159 155.1);
Tailwind
colors: {
  custom: {
    50: '#85daa4',
    500: '#40c87e',
    950: '#000000',
  },
}
SCSS
$custom: #40c87e;
$custom-light: #85daa4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c87e",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 126
  },
  "hsl": {
    "h": 147.353,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74175,
    "c": 0.15872,
    "h": 155.1
  },
  "luminance": 0.43905
}

Semantic roles & 50–950 ramp

primary
#40C87E
secondary
#D094B5
accent
#499ADF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C87E

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

Preview Lab → · Contrast checker → · Palette generator →

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