#40D876#40D876

#40D876 is a light, vivid green. Relative luminance 0.515; OKLCH L 78.1% C 0.187 H 150.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#40D876
RGBrgb(64, 216, 118)
HSLhsl(141, 66%, 55%)
HSVhsv(141, 70%, 85%)
CMYKcmyk(70.4%, 0%, 45.4%, 15.3%)
CIE-LABlab(76.98, -60.60, 37.04)
CIE-LCHlch(76.98, 71.02, 148.57°)
OKLaboklab(78.11% -0.1631 0.0909)
OKLCHoklch(78.11% 0.187 150.9)
XYZxyz(29.9377, 51.5064, 25.5000)
Luminance0.5151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D876 #D840A2
analogous
#56D840 #40D876 #40D8C2
triadic
#40D876 #7640D8 #D87640
tetradic
#40D876 #4056D8 #D840A2 #D8C240
square
#40D876 #4056D8 #D840A2 #D8C240
split-complementary
#40D876 #C240D8 #D84056
monochromatic
#1B8340 #25B658 #40D876 #73E29A #A6EDBF

Accessibility & contrast

On white

1.86
#40D876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#40D876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D876
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D876#FFFFFF#000000##000000
##40D8761.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66E
Deuteranopia (green-blind)
#C7B97D
Tritanopia (blue-blind)
#00D5C0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d876;
/* rgb */ color: rgb(64, 216, 118);
/* oklch */ color: oklch(78.1% 0.187 150.9);
Tailwind
colors: {
  custom: {
    50: '#88e59f',
    500: '#40d876',
    950: '#000000',
  },
}
SCSS
$custom: #40d876;
$custom-light: #88e59f;
$custom-dark: #000000;
JSON
{
  "hex": "#40d876",
  "rgb": {
    "r": 64,
    "g": 216,
    "b": 118
  },
  "hsl": {
    "h": 141.316,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78109,
    "c": 0.18675,
    "h": 150.9
  },
  "luminance": 0.5151
}

Semantic roles & 50–950 ramp

primary
#40D876
secondary
#8A336B
accent
#3FADE9
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D876

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

Preview Lab → · Contrast checker → · Palette generator →

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