#40D771#40D771

#40D771 is a light, vivid green. Relative luminance 0.509; OKLCH L 77.8% C 0.190 H 149.9°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#40D771
RGBrgb(64, 215, 113)
HSLhsl(139, 65%, 55%)
HSVhsv(139, 70%, 84%)
CMYKcmyk(70.2%, 0%, 47.4%, 15.7%)
CIE-LABlab(76.61, -61.04, 39.04)
CIE-LCHlch(76.61, 72.46, 147.40°)
OKLaboklab(77.77% -0.1643 0.0952)
OKLCHoklch(77.77% 0.19 149.9)
XYZxyz(29.3931, 50.8798, 23.8913)
Luminance0.5088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D771 #D740A6
analogous
#5BD740 #40D771 #40D7BC
triadic
#40D771 #7140D7 #D77140
tetradic
#40D771 #405BD7 #D740A6 #D7BC40
square
#40D771 #405BD7 #D740A6 #D7BC40
split-complementary
#40D771 #BC40D7 #D7405B
monochromatic
#1B813C #26B454 #40D771 #73E297 #A5ECBC

Accessibility & contrast

On white

1.88
#40D771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#40D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D771
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D771#FFFFFF#000000##000000
##40D7711.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C569
Deuteranopia (green-blind)
#C6B878
Tritanopia (blue-blind)
#00D3BF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d771;
/* rgb */ color: rgb(64, 215, 113);
/* oklch */ color: oklch(77.8% 0.190 149.9);
Tailwind
colors: {
  custom: {
    50: '#88e49b',
    500: '#40d771',
    950: '#000000',
  },
}
SCSS
$custom: #40d771;
$custom-light: #88e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#40d771",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 139.47,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77773,
    "c": 0.18993,
    "h": 149.9
  },
  "luminance": 0.50883
}

Semantic roles & 50–950 ramp

primary
#40D771
secondary
#88336D
accent
#3FB2E8
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D771

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

Preview Lab → · Contrast checker → · Palette generator →

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