#40D978#40D978

#40D978 is a light, vivid green. Relative luminance 0.521; OKLCH L 78.4% C 0.186 H 151.2°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#40D978
RGBrgb(64, 217, 120)
HSLhsl(142, 67%, 55%)
HSVhsv(142, 71%, 85%)
CMYKcmyk(70.5%, 0%, 44.7%, 14.9%)
CIE-LABlab(77.32, -60.63, 36.47)
CIE-LCHlch(77.32, 70.76, 148.97°)
OKLaboklab(78.4% -0.1632 0.0896)
OKLCHoklch(78.4% 0.186 151.2)
XYZxyz(30.3148, 52.0684, 26.2182)
Luminance0.5207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D978 #D940A1
analogous
#54D940 #40D978 #40D9C5
triadic
#40D978 #7840D9 #D97840
tetradic
#40D978 #4054D9 #D940A1 #D9C540
square
#40D978 #4054D9 #D940A1 #D9C540
split-complementary
#40D978 #C540D9 #D94054
monochromatic
#1A8441 #24B75A #40D978 #73E39C #A6EDC0

Accessibility & contrast

On white

1.84
#40D978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#40D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D978
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D978#FFFFFF#000000##000000
##40D9781.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#C7BA7F
Tritanopia (blue-blind)
#00D6C2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d978;
/* rgb */ color: rgb(64, 217, 120);
/* oklch */ color: oklch(78.4% 0.186 151.2);
Tailwind
colors: {
  custom: {
    50: '#88e6a0',
    500: '#40d978',
    950: '#000000',
  },
}
SCSS
$custom: #40d978;
$custom-light: #88e6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40d978",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 141.961,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78396,
    "c": 0.18623,
    "h": 151.2
  },
  "luminance": 0.52072
}

Semantic roles & 50–950 ramp

primary
#40D978
secondary
#8B326A
accent
#3EABEA
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D978

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

Preview Lab → · Contrast checker → · Palette generator →

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