#40C87D#40C87D

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

Color values

HEX#40C87D
RGBrgb(64, 200, 125)
HSLhsl(147, 55%, 52%)
HSVhsv(147, 68%, 78%)
CMYKcmyk(68%, 0%, 37.5%, 21.6%)
CIE-LABlab(72.15, -53.43, 27.15)
CIE-LCHlch(72.15, 59.93, 153.06°)
OKLaboklab(74.16% -0.1445 0.0679)
OKLCHoklch(74.16% 0.16 154.8)
XYZxyz(26.4679, 43.8763, 26.4721)
Luminance0.4388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C87D #C8408B
analogous
#47C840 #40C87D #40C8C1
triadic
#40C87D #7D40C8 #C87D40
tetradic
#40C87D #4047C8 #C8408B #C8C140
square
#40C87D #4047C8 #C8408B #C8C140
split-complementary
#40C87D #C140C8 #C84047
monochromatic
#206E43 #2D9D60 #40C87D #70D69D #9FE3BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40C87D#FFFFFF#000000##000000
##40C87D1.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)
#C7B878
Deuteranopia (green-blind)
#B6AC82
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c87d;
/* rgb */ color: rgb(64, 200, 125);
/* oklch */ color: oklch(74.2% 0.160 154.8);
Tailwind
colors: {
  custom: {
    50: '#85daa3',
    500: '#40c87d',
    950: '#000000',
  },
}
SCSS
$custom: #40c87d;
$custom-light: #85daa3;
$custom-dark: #000000;
JSON
{
  "hex": "#40c87d",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 125
  },
  "hsl": {
    "h": 146.912,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74155,
    "c": 0.15963,
    "h": 154.8
  },
  "luminance": 0.43879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40C87D

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

Preview Lab → · Contrast checker → · Palette generator →

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