#40D96F#40D96F

#40D96F is a light, vivid green. Relative luminance 0.519; OKLCH L 78.3% C 0.194 H 149.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#40D96F
RGBrgb(64, 217, 111)
HSLhsl(138, 67%, 55%)
HSVhsv(138, 71%, 85%)
CMYKcmyk(70.5%, 0%, 48.8%, 14.9%)
CIE-LABlab(77.20, -62.06, 40.76)
CIE-LCHlch(77.20, 74.25, 146.70°)
OKLaboklab(78.25% -0.167 0.0991)
OKLCHoklch(78.25% 0.194 149.3)
XYZxyz(29.7941, 51.8601, 23.4756)
Luminance0.5186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D96F #D940AA
analogous
#5ED940 #40D96F #40D9BB
triadic
#40D96F #6F40D9 #D96F40
tetradic
#40D96F #405ED9 #D940AA #D9BB40
square
#40D96F #405ED9 #D940AA #D9BB40
split-complementary
#40D96F #BB40D9 #D9405E
monochromatic
#1A843B #24B752 #40D96F #73E395 #A6EDBC

Accessibility & contrast

On white

1.85
#40D96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#40D96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D96F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D96F#FFFFFF#000000##000000
##40D96F1.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC666
Deuteranopia (green-blind)
#C8BA77
Tritanopia (blue-blind)
#00D5C0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40d96f;
/* rgb */ color: rgb(64, 217, 111);
/* oklch */ color: oklch(78.3% 0.194 149.3);
Tailwind
colors: {
  custom: {
    50: '#89e69a',
    500: '#40d96f',
    950: '#000000',
  },
}
SCSS
$custom: #40d96f;
$custom-light: #89e69a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d96f",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 138.431,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78253,
    "c": 0.1942,
    "h": 149.3
  },
  "luminance": 0.51863
}

Semantic roles & 50–950 ramp

primary
#40D96F
secondary
#8B3270
accent
#3EB5EA
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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