#40D981#40D981

#40D981 is a light, vivid green. Relative luminance 0.523; OKLCH L 78.6% C 0.178 H 153.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#40D981
RGBrgb(64, 217, 129)
HSLhsl(145, 67%, 55%)
HSVhsv(145, 71%, 85%)
CMYKcmyk(70.5%, 0%, 40.6%, 14.9%)
CIE-LABlab(77.46, -59.08, 32.11)
CIE-LCHlch(77.46, 67.25, 151.47°)
OKLaboklab(78.55% -0.1593 0.0798)
OKLCHoklch(78.55% 0.178 153.4)
XYZxyz(30.8869, 52.2972, 29.2312)
Luminance0.5230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D981 #D94098
analogous
#4CD940 #40D981 #40D9CD
triadic
#40D981 #8140D9 #D98140
tetradic
#40D981 #404CD9 #D94098 #D9CD40
square
#40D981 #404CD9 #D94098 #D9CD40
split-complementary
#40D981 #CD40D9 #D9404C
monochromatic
#1A8447 #24B763 #40D981 #73E3A3 #A6EDC4

Accessibility & contrast

On white

1.83
#40D981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#40D981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D981
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D981#FFFFFF#000000##000000
##40D9811.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77B
Deuteranopia (green-blind)
#C6BA87
Tritanopia (blue-blind)
#00D6C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d981;
/* rgb */ color: rgb(64, 217, 129);
/* oklch */ color: oklch(78.6% 0.178 153.4);
Tailwind
colors: {
  custom: {
    50: '#88e6a6',
    500: '#40d981',
    950: '#000000',
  },
}
SCSS
$custom: #40d981;
$custom-light: #88e6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40d981",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 129
  },
  "hsl": {
    "h": 145.49,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78554,
    "c": 0.17817,
    "h": 153.4
  },
  "luminance": 0.52301
}

Semantic roles & 50–950 ramp

primary
#40D981
secondary
#8B3265
accent
#3EA1EA
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D981

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

Preview Lab → · Contrast checker → · Palette generator →

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