#40D982#40D982

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

Color values

HEX#40D982
RGBrgb(64, 217, 130)
HSLhsl(146, 67%, 55%)
HSVhsv(146, 71%, 85%)
CMYKcmyk(70.5%, 0%, 40.1%, 14.9%)
CIE-LABlab(77.47, -58.90, 31.63)
CIE-LCHlch(77.47, 66.86, 151.77°)
OKLaboklab(78.57% -0.1589 0.0786)
OKLCHoklch(78.57% 0.177 153.7)
XYZxyz(30.9537, 52.3239, 29.5830)
Luminance0.5233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D982 #D94097
analogous
#4BD940 #40D982 #40D9CE
triadic
#40D982 #8240D9 #D98240
tetradic
#40D982 #404BD9 #D94097 #D9CE40
square
#40D982 #404BD9 #D94097 #D9CE40
split-complementary
#40D982 #CE40D9 #D9404B
monochromatic
#1A8448 #24B764 #40D982 #73E3A3 #A6EDC5

Accessibility & contrast

On white

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

On black

11.47
#40D982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D982
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D982#FFFFFF#000000##000000
##40D9821.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d982;
/* rgb */ color: rgb(64, 217, 130);
/* oklch */ color: oklch(78.6% 0.177 153.7);
Tailwind
colors: {
  custom: {
    50: '#88e6a7',
    500: '#40d982',
    950: '#000000',
  },
}
SCSS
$custom: #40d982;
$custom-light: #88e6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#40d982",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 145.882,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78572,
    "c": 0.17726,
    "h": 153.7
  },
  "luminance": 0.52327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D982

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

Preview Lab → · Contrast checker → · Palette generator →

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