#40D954#40D954

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

Color values

HEX#40D954
RGBrgb(64, 217, 84)
HSLhsl(128, 67%, 55%)
HSVhsv(128, 71%, 85%)
CMYKcmyk(70.5%, 0%, 61.3%, 14.9%)
CIE-LABlab(76.89, -65.64, 52.90)
CIE-LCHlch(76.89, 84.30, 141.13°)
OKLaboklab(77.9% -0.1773 0.1239)
OKLCHoklch(77.9% 0.216 145.1)
XYZxyz(28.5255, 51.3526, 16.7945)
Luminance0.5136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D954 #D940C5
analogous
#79D940 #40D954 #40D9A0
triadic
#40D954 #5440D9 #D95440
tetradic
#40D954 #4079D9 #D940C5 #D9A040
square
#40D954 #4079D9 #D940C5 #D9A040
split-complementary
#40D954 #A040D9 #D94079
monochromatic
#1A8428 #24B738 #40D954 #73E382 #A6EDAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D954#FFFFFF#000000##000000
##40D9541.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)
#DDC545
Deuteranopia (green-blind)
#CBB95F
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d954;
/* rgb */ color: rgb(64, 217, 84);
/* oklch */ color: oklch(77.9% 0.216 145.1);
Tailwind
colors: {
  custom: {
    50: '#89e689',
    500: '#40d954',
    950: '#000000',
  },
}
SCSS
$custom: #40d954;
$custom-light: #89e689;
$custom-dark: #000000;
JSON
{
  "hex": "#40d954",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 127.843,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77902,
    "c": 0.21633,
    "h": 145.1
  },
  "luminance": 0.51356
}

Semantic roles & 50–950 ramp

primary
#40D954
secondary
#8B327F
accent
#3ED3EA
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40D954

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

Preview Lab → · Contrast checker → · Palette generator →

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