#40D78B#40D78B

#40D78B is a light, vivid green. Relative luminance 0.516; OKLCH L 78.2% C 0.167 H 156.6°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#40D78B
RGBrgb(64, 215, 139)
HSLhsl(150, 65%, 55%)
HSVhsv(150, 70%, 84%)
CMYKcmyk(70.2%, 0%, 35.3%, 15.7%)
CIE-LABlab(77.01, -56.47, 26.38)
CIE-LCHlch(77.01, 62.33, 154.96°)
OKLaboklab(78.24% -0.1529 0.0663)
OKLCHoklch(78.24% 0.167 156.6)
XYZxyz(31.0720, 51.5514, 32.7339)
Luminance0.5155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D78B #D7408C
analogous
#41D740 #40D78B #40D7D6
triadic
#40D78B #8B40D7 #D78B40
tetradic
#40D78B #4041D7 #D7408C #D7D640
square
#40D78B #4041D7 #D7408C #D7D640
split-complementary
#40D78B #D640D7 #D74041
monochromatic
#1B814E #26B46C #40D78B #73E2AA #A5ECC8

Accessibility & contrast

On white

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

On black

11.31
#40D78B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D78B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D78B#FFFFFF#000000##000000
##40D78B1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C686
Deuteranopia (green-blind)
#C3B990
Tritanopia (blue-blind)
#00D5C3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d78b;
/* rgb */ color: rgb(64, 215, 139);
/* oklch */ color: oklch(78.2% 0.167 156.6);
Tailwind
colors: {
  custom: {
    50: '#88e4ad',
    500: '#40d78b',
    950: '#000000',
  },
}
SCSS
$custom: #40d78b;
$custom-light: #88e4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#40d78b",
  "rgb": {
    "r": 64,
    "g": 215,
    "b": 139
  },
  "hsl": {
    "h": 149.801,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.78241,
    "c": 0.16665,
    "h": 156.6
  },
  "luminance": 0.51555
}

Semantic roles & 50–950 ramp

primary
#40D78B
secondary
#88335E
accent
#3F94E8
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #40D78B

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

Preview Lab → · Contrast checker → · Palette generator →

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