#40D78A#40D78A

#40D78A is a light, vivid green. Relative luminance 0.515; OKLCH L 78.2% C 0.168 H 156.3°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#40D78A
RGBrgb(64, 215, 138)
HSLhsl(149, 65%, 55%)
HSVhsv(149, 70%, 84%)
CMYKcmyk(70.2%, 0%, 35.8%, 15.7%)
CIE-LABlab(76.99, -56.67, 26.88)
CIE-LCHlch(76.99, 62.72, 154.62°)
OKLaboklab(78.22% -0.1533 0.0675)
OKLCHoklch(78.22% 0.168 156.3)
XYZxyz(30.9993, 51.5223, 32.3509)
Luminance0.5153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D78A #D7408D
analogous
#42D740 #40D78A #40D7D6
triadic
#40D78A #8A40D7 #D78A40
tetradic
#40D78A #4042D7 #D7408D #D7D640
square
#40D78A #4042D7 #D7408D #D7D640
split-complementary
#40D78A #D640D7 #D74042
monochromatic
#1B814D #26B46B #40D78A #73E2A9 #A5ECC8

Accessibility & contrast

On white

1.86
#40D78A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#40D78A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D78A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D78A#FFFFFF#000000##000000
##40D78A1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C685
Deuteranopia (green-blind)
#C3B98F
Tritanopia (blue-blind)
#00D5C3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d78a;
/* rgb */ color: rgb(64, 215, 138);
/* oklch */ color: oklch(78.2% 0.168 156.3);
Tailwind
colors: {
  custom: {
    50: '#88e4ac',
    500: '#40d78a',
    950: '#000000',
  },
}
SCSS
$custom: #40d78a;
$custom-light: #88e4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#40d78a",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 138
  },
  "hsl": {
    "h": 149.404,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.7822,
    "c": 0.16754,
    "h": 156.3
  },
  "luminance": 0.51526
}

Semantic roles & 50–950 ramp

primary
#40D78A
secondary
#88335E
accent
#3F96E8
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D78A

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

Preview Lab → · Contrast checker → · Palette generator →

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