#40D957#40D957

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

Color values

HEX#40D957
RGBrgb(64, 217, 87)
HSLhsl(129, 67%, 55%)
HSVhsv(129, 71%, 85%)
CMYKcmyk(70.5%, 0%, 59.9%, 14.9%)
CIE-LABlab(76.92, -65.29, 51.62)
CIE-LCHlch(76.92, 83.23, 141.67°)
OKLaboklab(77.94% -0.1763 0.1214)
OKLCHoklch(77.94% 0.214 145.4)
XYZxyz(28.6455, 51.4006, 17.4266)
Luminance0.5140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D957 #D940C2
analogous
#75D940 #40D957 #40D9A4
triadic
#40D957 #5740D9 #D95740
tetradic
#40D957 #4075D9 #D940C2 #D9A440
square
#40D957 #4075D9 #D940C2 #D9A440
split-complementary
#40D957 #A440D9 #D94075
monochromatic
#1A842A #24B73B #40D957 #73E384 #A6EDB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40D957#FFFFFF#000000##000000
##40D9571.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)
#DCC549
Deuteranopia (green-blind)
#CBB962
Tritanopia (blue-blind)
#00D4BD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #40d957;
/* rgb */ color: rgb(64, 217, 87);
/* oklch */ color: oklch(77.9% 0.214 145.4);
Tailwind
colors: {
  custom: {
    50: '#89e68a',
    500: '#40d957',
    950: '#000000',
  },
}
SCSS
$custom: #40d957;
$custom-light: #89e68a;
$custom-dark: #000000;
JSON
{
  "hex": "#40d957",
  "rgb": {
    "r": 64,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 129.02,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77935,
    "c": 0.21406,
    "h": 145.4
  },
  "luminance": 0.51404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40D957

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

Preview Lab → · Contrast checker → · Palette generator →

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