#40C87F#40C87F

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

Color values

HEX#40C87F
RGBrgb(64, 200, 127)
HSLhsl(148, 55%, 52%)
HSVhsv(148, 68%, 78%)
CMYKcmyk(68%, 0%, 36.5%, 21.6%)
CIE-LABlab(72.18, -53.05, 26.15)
CIE-LCHlch(72.18, 59.14, 153.76°)
OKLaboklab(74.19% -0.1435 0.0656)
OKLCHoklch(74.19% 0.158 155.5)
XYZxyz(26.5970, 43.9279, 27.1518)
Luminance0.4393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C87F #C84089
analogous
#45C840 #40C87F #40C8C3
triadic
#40C87F #7F40C8 #C87F40
tetradic
#40C87F #4045C8 #C84089 #C8C340
square
#40C87F #4045C8 #C84089 #C8C340
split-complementary
#40C87F #C340C8 #C84045
monochromatic
#206E44 #2D9D61 #40C87F #70D69F #9FE3BF

Accessibility & contrast

On white

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

On black

9.79
#40C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C87F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C87F#FFFFFF#000000##000000
##40C87F1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c87f;
/* rgb */ color: rgb(64, 200, 127);
/* oklch */ color: oklch(74.2% 0.158 155.5);
Tailwind
colors: {
  custom: {
    50: '#85daa4',
    500: '#40c87f',
    950: '#000000',
  },
}
SCSS
$custom: #40c87f;
$custom-light: #85daa4;
$custom-dark: #000000;
JSON
{
  "hex": "#40c87f",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 147.794,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74195,
    "c": 0.15781,
    "h": 155.5
  },
  "luminance": 0.43931
}

Semantic roles & 50–950 ramp

primary
#40C87F
secondary
#D094B4
accent
#4999DF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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