#40D772#40D772

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

Color values

HEX#40D772
RGBrgb(64, 215, 114)
HSLhsl(140, 65%, 55%)
HSVhsv(140, 70%, 84%)
CMYKcmyk(70.2%, 0%, 47%, 15.7%)
CIE-LABlab(76.62, -60.89, 38.56)
CIE-LCHlch(76.62, 72.07, 147.65°)
OKLaboklab(77.79% -0.1639 0.0942)
OKLCHoklch(77.79% 0.189 150.1)
XYZxyz(29.4497, 50.9025, 24.1894)
Luminance0.5091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D772 #D740A5
analogous
#59D740 #40D772 #40D7BE
triadic
#40D772 #7240D7 #D77240
tetradic
#40D772 #4059D7 #D740A5 #D7BE40
square
#40D772 #4059D7 #D740A5 #D7BE40
split-complementary
#40D772 #BE40D7 #D74059
monochromatic
#1B813D #26B455 #40D772 #73E297 #A5ECBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D772#FFFFFF#000000##000000
##40D7721.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)
#D8C56A
Deuteranopia (green-blind)
#C6B879
Tritanopia (blue-blind)
#00D3BF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d772;
/* rgb */ color: rgb(64, 215, 114);
/* oklch */ color: oklch(77.8% 0.189 150.1);
Tailwind
colors: {
  custom: {
    50: '#88e49c',
    500: '#40d772',
    950: '#000000',
  },
}
SCSS
$custom: #40d772;
$custom-light: #88e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#40d772",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 139.868,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77789,
    "c": 0.18904,
    "h": 150.1
  },
  "luminance": 0.50906
}

Semantic roles & 50–950 ramp

primary
#40D772
secondary
#88336C
accent
#3FB0E8
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D772

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

Preview Lab → · Contrast checker → · Palette generator →

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