#40D775#40D775

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

Color values

HEX#40D775
RGBrgb(64, 215, 117)
HSLhsl(141, 65%, 55%)
HSVhsv(141, 70%, 84%)
CMYKcmyk(70.2%, 0%, 45.6%, 15.7%)
CIE-LABlab(76.66, -60.40, 37.13)
CIE-LCHlch(76.66, 70.90, 148.42°)
OKLaboklab(77.84% -0.1626 0.091)
OKLCHoklch(77.84% 0.186 150.8)
XYZxyz(29.6232, 50.9719, 25.1035)
Luminance0.5098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D775 #D740A2
analogous
#56D740 #40D775 #40D7C1
triadic
#40D775 #7540D7 #D77540
tetradic
#40D775 #4056D7 #D740A2 #D7C140
square
#40D775 #4056D7 #D740A2 #D7C140
split-complementary
#40D775 #C140D7 #D74056
monochromatic
#1B813F #26B458 #40D775 #73E29A #A5ECBE

Accessibility & contrast

On white

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

On black

11.20
#40D775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D775
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D775#FFFFFF#000000##000000
##40D7751.001.8811.2011.20
#FFFFFF1.881.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56D
Deuteranopia (green-blind)
#C6B87C
Tritanopia (blue-blind)
#00D3C0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #40d775;
/* rgb */ color: rgb(64, 215, 117);
/* oklch */ color: oklch(77.8% 0.186 150.8);
Tailwind
colors: {
  custom: {
    50: '#88e49e',
    500: '#40d775',
    950: '#000000',
  },
}
SCSS
$custom: #40d775;
$custom-light: #88e49e;
$custom-dark: #000000;
JSON
{
  "hex": "#40d775",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 117
  },
  "hsl": {
    "h": 141.06,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77838,
    "c": 0.18638,
    "h": 150.8
  },
  "luminance": 0.50975
}

Semantic roles & 50–950 ramp

primary
#40D775
secondary
#88336A
accent
#3FADE8
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D775

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

Preview Lab → · Contrast checker → · Palette generator →

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