#40C87C#40C87C

#40C87C is a light, vivid green. Relative luminance 0.439; OKLCH L 74.1% C 0.161 H 154.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#40C87C
RGBrgb(64, 200, 124)
HSLhsl(146, 55%, 52%)
HSVhsv(146, 68%, 78%)
CMYKcmyk(68%, 0%, 38%, 21.6%)
CIE-LABlab(72.13, -53.62, 27.65)
CIE-LCHlch(72.13, 60.33, 152.72°)
OKLaboklab(74.14% -0.1449 0.0691)
OKLCHoklch(74.14% 0.161 154.5)
XYZxyz(26.4044, 43.8509, 26.1374)
Luminance0.4385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C87C #C8408C
analogous
#48C840 #40C87C #40C8C0
triadic
#40C87C #7C40C8 #C87C40
tetradic
#40C87C #4048C8 #C8408C #C8C040
square
#40C87C #4048C8 #C8408C #C8C040
split-complementary
#40C87C #C040C8 #C84048
monochromatic
#206E42 #2D9D5F #40C87C #70D69D #9FE3BD

Accessibility & contrast

On white

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

On black

9.77
#40C87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C87C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C87C#FFFFFF#000000##000000
##40C87C1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40c87c;
/* rgb */ color: rgb(64, 200, 124);
/* oklch */ color: oklch(74.1% 0.161 154.5);
Tailwind
colors: {
  custom: {
    50: '#85daa2',
    500: '#40c87c',
    950: '#000000',
  },
}
SCSS
$custom: #40c87c;
$custom-light: #85daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#40c87c",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 124
  },
  "hsl": {
    "h": 146.471,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74136,
    "c": 0.16054,
    "h": 154.5
  },
  "luminance": 0.43854
}

Semantic roles & 50–950 ramp

primary
#40C87C
secondary
#D094B5
accent
#499DDF
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #40C87C

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

Preview Lab → · Contrast checker → · Palette generator →

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