#40D951#40D951

#40D951 is a light, highly saturated green. Relative luminance 0.513; OKLCH L 77.9% C 0.219 H 144.7°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#40D951
RGBrgb(64, 217, 81)
HSLhsl(127, 67%, 55%)
HSVhsv(127, 71%, 85%)
CMYKcmyk(70.5%, 0%, 62.7%, 14.9%)
CIE-LABlab(76.86, -65.97, 54.16)
CIE-LCHlch(76.86, 85.35, 140.61°)
OKLaboklab(77.87% -0.1783 0.1263)
OKLCHoklch(77.87% 0.219 144.7)
XYZxyz(28.4105, 51.3066, 16.1889)
Luminance0.5131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D951 #D940C8
analogous
#7BD940 #40D951 #40D99E
triadic
#40D951 #5140D9 #D95140
tetradic
#40D951 #407BD9 #D940C8 #D99E40
square
#40D951 #407BD9 #D940C8 #D99E40
split-complementary
#40D951 #9E40D9 #D9407B
monochromatic
#1A8426 #24B735 #40D951 #73E380 #A6EDAE

Accessibility & contrast

On white

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

On black

11.26
#40D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D951
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D951#FFFFFF#000000##000000
##40D9511.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC541
Deuteranopia (green-blind)
#CBB95D
Tritanopia (blue-blind)
#00D3BC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d951;
/* rgb */ color: rgb(64, 217, 81);
/* oklch */ color: oklch(77.9% 0.219 144.7);
Tailwind
colors: {
  custom: {
    50: '#8ae687',
    500: '#40d951',
    950: '#000000',
  },
}
SCSS
$custom: #40d951;
$custom-light: #8ae687;
$custom-dark: #000000;
JSON
{
  "hex": "#40d951",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 126.667,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.21855,
    "h": 144.7
  },
  "luminance": 0.5131
}

Semantic roles & 50–950 ramp

primary
#40D951
secondary
#8B3281
accent
#3ED7EA
background
#FCFEFC
surface
#F4FDF3
border
#CED5CD
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D951

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

Preview Lab → · Contrast checker → · Palette generator →

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