#40C87A#40C87A

#40C87A is a light, vivid green. Relative luminance 0.438; OKLCH L 74.1% C 0.162 H 153.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#40C87A
RGBrgb(64, 200, 122)
HSLhsl(146, 55%, 52%)
HSVhsv(146, 68%, 78%)
CMYKcmyk(68%, 0%, 39%, 21.6%)
CIE-LABlab(72.10, -53.99, 28.64)
CIE-LCHlch(72.10, 61.12, 152.05°)
OKLaboklab(74.1% -0.1458 0.0714)
OKLCHoklch(74.1% 0.162 153.9)
XYZxyz(26.2792, 43.8008, 25.4780)
Luminance0.4380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40C87A #C8408E
analogous
#4AC840 #40C87A #40C8BE
triadic
#40C87A #7A40C8 #C87A40
tetradic
#40C87A #404AC8 #C8408E #C8BE40
square
#40C87A #404AC8 #C8408E #C8BE40
split-complementary
#40C87A #BE40C8 #C8404A
monochromatic
#206E41 #2D9D5D #40C87A #70D69B #9FE3BC

Accessibility & contrast

On white

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

On black

9.76
#40C87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40C87A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40C87A#FFFFFF#000000##000000
##40C87A1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B875
Deuteranopia (green-blind)
#B7AC7F
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #40c87a;
/* rgb */ color: rgb(64, 200, 122);
/* oklch */ color: oklch(74.1% 0.162 153.9);
Tailwind
colors: {
  custom: {
    50: '#85daa1',
    500: '#40c87a',
    950: '#000000',
  },
}
SCSS
$custom: #40c87a;
$custom-light: #85daa1;
$custom-dark: #000000;
JSON
{
  "hex": "#40c87a",
  "rgb": {
    "r": 64,
    "g": 200,
    "b": 122
  },
  "hsl": {
    "h": 145.588,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74097,
    "c": 0.16237,
    "h": 153.9
  },
  "luminance": 0.43804
}

Semantic roles & 50–950 ramp

primary
#40C87A
secondary
#D094B6
accent
#499FDF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #40C87A

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

Preview Lab → · Contrast checker → · Palette generator →

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