#40D952#40D952

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

Color values

HEX#40D952
RGBrgb(64, 217, 82)
HSLhsl(127, 67%, 55%)
HSVhsv(127, 71%, 85%)
CMYKcmyk(70.5%, 0%, 62.2%, 14.9%)
CIE-LABlab(76.87, -65.86, 53.74)
CIE-LCHlch(76.87, 85.00, 140.79°)
OKLaboklab(77.88% -0.178 0.1255)
OKLCHoklch(77.88% 0.218 144.8)
XYZxyz(28.4483, 51.3217, 16.3878)
Luminance0.5132 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D952 #D940C7
analogous
#7AD940 #40D952 #40D99F
triadic
#40D952 #5240D9 #D95240
tetradic
#40D952 #407AD9 #D940C7 #D99F40
square
#40D952 #407AD9 #D940C7 #D99F40
split-complementary
#40D952 #9F40D9 #D9407A
monochromatic
#1A8427 #24B736 #40D952 #73E380 #A6EDAE

Accessibility & contrast

On white

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

On black

11.27
#40D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D952
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D952#FFFFFF#000000##000000
##40D9521.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40d952;
/* rgb */ color: rgb(64, 217, 82);
/* oklch */ color: oklch(77.9% 0.218 144.8);
Tailwind
colors: {
  custom: {
    50: '#8ae687',
    500: '#40d952',
    950: '#000000',
  },
}
SCSS
$custom: #40d952;
$custom-light: #8ae687;
$custom-dark: #000000;
JSON
{
  "hex": "#40d952",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 127.059,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.7788,
    "c": 0.21781,
    "h": 144.8
  },
  "luminance": 0.51325
}

Semantic roles & 50–950 ramp

primary
#40D952
secondary
#8B3280
accent
#3ED6EA
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D952

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

Preview Lab → · Contrast checker → · Palette generator →

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