#40D979#40D979

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

Color values

HEX#40D979
RGBrgb(64, 217, 121)
HSLhsl(142, 67%, 55%)
HSVhsv(142, 71%, 85%)
CMYKcmyk(70.5%, 0%, 44.2%, 14.9%)
CIE-LABlab(77.34, -60.46, 35.99)
CIE-LCHlch(77.34, 70.37, 149.24°)
OKLaboklab(78.41% -0.1628 0.0886)
OKLCHoklch(78.41% 0.185 151.5)
XYZxyz(30.3758, 52.0928, 26.5395)
Luminance0.5210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D979 #D940A0
analogous
#53D940 #40D979 #40D9C5
triadic
#40D979 #7940D9 #D97940
tetradic
#40D979 #4053D9 #D940A0 #D9C540
square
#40D979 #4053D9 #D940A0 #D9C540
split-complementary
#40D979 #C540D9 #D94053
monochromatic
#1A8442 #24B75B #40D979 #73E39D #A6EDC1

Accessibility & contrast

On white

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

On black

11.42
#40D979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D979
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D979#FFFFFF#000000##000000
##40D9791.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d979;
/* rgb */ color: rgb(64, 217, 121);
/* oklch */ color: oklch(78.4% 0.185 151.5);
Tailwind
colors: {
  custom: {
    50: '#88e6a1',
    500: '#40d979',
    950: '#000000',
  },
}
SCSS
$custom: #40d979;
$custom-light: #88e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40d979",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 121
  },
  "hsl": {
    "h": 142.353,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78413,
    "c": 0.18534,
    "h": 151.5
  },
  "luminance": 0.52096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D979

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

Preview Lab → · Contrast checker → · Palette generator →

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