#40D96C#40D96C

#40D96C is a light, vivid green. Relative luminance 0.518; OKLCH L 78.2% C 0.197 H 148.8°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#40D96C
RGBrgb(64, 217, 108)
HSLhsl(137, 67%, 55%)
HSVhsv(137, 71%, 85%)
CMYKcmyk(70.5%, 0%, 50.2%, 14.9%)
CIE-LABlab(77.16, -62.51, 42.17)
CIE-LCHlch(77.16, 75.40, 146.00°)
OKLaboklab(78.21% -0.1683 0.1021)
OKLCHoklch(78.21% 0.197 148.8)
XYZxyz(29.6317, 51.7951, 22.6203)
Luminance0.5180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D96C #D940AD
analogous
#60D940 #40D96C #40D9B9
triadic
#40D96C #6C40D9 #D96C40
tetradic
#40D96C #4060D9 #D940AD #D9B940
square
#40D96C #4060D9 #D940AD #D9B940
split-complementary
#40D96C #B940D9 #D94060
monochromatic
#1A8439 #24B74F #40D96C #73E393 #A6EDBB

Accessibility & contrast

On white

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

On black

11.36
#40D96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D96C
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D96C#FFFFFF#000000##000000
##40D96C1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d96c;
/* rgb */ color: rgb(64, 217, 108);
/* oklch */ color: oklch(78.2% 0.197 148.8);
Tailwind
colors: {
  custom: {
    50: '#89e698',
    500: '#40d96c',
    950: '#000000',
  },
}
SCSS
$custom: #40d96c;
$custom-light: #89e698;
$custom-dark: #000000;
JSON
{
  "hex": "#40d96c",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 137.255,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78208,
    "c": 0.19681,
    "h": 148.8
  },
  "luminance": 0.51798
}

Semantic roles & 50–950 ramp

primary
#40D96C
secondary
#8B3271
accent
#3EB8EA
background
#FCFEFC
surface
#F4FCF5
border
#CED5CF
text
#0D160E
muted
#7F847F

Preview Lab

Preview with #40D96C

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

Preview Lab → · Contrast checker → · Palette generator →

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