#40D956#40D956

#40D956 is a light, highly saturated green. Relative luminance 0.514; OKLCH L 77.9% C 0.215 H 145.3°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#40D956
RGBrgb(64, 217, 86)
HSLhsl(129, 67%, 55%)
HSVhsv(129, 71%, 85%)
CMYKcmyk(70.5%, 0%, 60.4%, 14.9%)
CIE-LABlab(76.91, -65.41, 52.05)
CIE-LCHlch(76.91, 83.59, 141.49°)
OKLaboklab(77.92% -0.1766 0.1223)
OKLCHoklch(77.92% 0.215 145.3)
XYZxyz(28.6050, 51.3844, 17.2130)
Luminance0.5139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D956 #D940C3
analogous
#77D940 #40D956 #40D9A2
triadic
#40D956 #5640D9 #D95640
tetradic
#40D956 #4077D9 #D940C3 #D9A240
square
#40D956 #4077D9 #D940C3 #D9A240
split-complementary
#40D956 #A240D9 #D94077
monochromatic
#1A842A #24B73A #40D956 #73E383 #A6EDB0

Accessibility & contrast

On white

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

On black

11.28
#40D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D956
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D956#FFFFFF#000000##000000
##40D9561.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC548
Deuteranopia (green-blind)
#CBB961
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d956;
/* rgb */ color: rgb(64, 217, 86);
/* oklch */ color: oklch(77.9% 0.215 145.3);
Tailwind
colors: {
  custom: {
    50: '#89e68a',
    500: '#40d956',
    950: '#000000',
  },
}
SCSS
$custom: #40d956;
$custom-light: #89e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d956",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 128.627,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77924,
    "c": 0.21482,
    "h": 145.3
  },
  "luminance": 0.51388
}

Semantic roles & 50–950 ramp

primary
#40D956
secondary
#8B327E
accent
#3ED1EA
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D956

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

Preview Lab → · Contrast checker → · Palette generator →

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