#40D774#40D774

#40D774 is a light, vivid green. Relative luminance 0.510; OKLCH L 77.8% C 0.187 H 150.5°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#40D774
RGBrgb(64, 215, 116)
HSLhsl(141, 65%, 55%)
HSVhsv(141, 70%, 84%)
CMYKcmyk(70.2%, 0%, 46%, 15.7%)
CIE-LABlab(76.65, -60.57, 37.60)
CIE-LCHlch(76.65, 71.29, 148.16°)
OKLaboklab(77.82% -0.163 0.0921)
OKLCHoklch(77.82% 0.187 150.5)
XYZxyz(29.5648, 50.9485, 24.7955)
Luminance0.5095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D774 #D740A3
analogous
#58D740 #40D774 #40D7BF
triadic
#40D774 #7440D7 #D77440
tetradic
#40D774 #4058D7 #D740A3 #D7BF40
square
#40D774 #4058D7 #D740A3 #D7BF40
split-complementary
#40D774 #BF40D7 #D74058
monochromatic
#1B813E #26B457 #40D774 #73E299 #A5ECBE

Accessibility & contrast

On white

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

On black

11.19
#40D774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D774
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D774#FFFFFF#000000##000000
##40D7741.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d774;
/* rgb */ color: rgb(64, 215, 116);
/* oklch */ color: oklch(77.8% 0.187 150.5);
Tailwind
colors: {
  custom: {
    50: '#88e49d',
    500: '#40d774',
    950: '#000000',
  },
}
SCSS
$custom: #40d774;
$custom-light: #88e49d;
$custom-dark: #000000;
JSON
{
  "hex": "#40d774",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 140.662,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77821,
    "c": 0.18726,
    "h": 150.5
  },
  "luminance": 0.50952
}

Semantic roles & 50–950 ramp

primary
#40D774
secondary
#88336B
accent
#3FAEE8
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D774

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

Preview Lab → · Contrast checker → · Palette generator →

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