#40D57E#40D57E

#40D57E is a light, vivid green. Relative luminance 0.502; OKLCH L 77.5% C 0.176 H 153.2°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#40D57E
RGBrgb(64, 213, 126)
HSLhsl(145, 64%, 54%)
HSVhsv(145, 70%, 84%)
CMYKcmyk(70%, 0%, 40.8%, 16.5%)
CIE-LABlab(76.18, -58.14, 31.97)
CIE-LCHlch(76.18, 66.35, 151.20°)
OKLaboklab(77.49% -0.1568 0.0793)
OKLCHoklch(77.49% 0.176 153.2)
XYZxyz(29.6719, 50.1815, 27.8569)
Luminance0.5019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D57E #D54097
analogous
#4DD540 #40D57E #40D5C8
triadic
#40D57E #7E40D5 #D57E40
tetradic
#40D57E #404DD5 #D54097 #D5C840
square
#40D57E #404DD5 #D54097 #D5C840
split-complementary
#40D57E #C840D5 #D5404D
monochromatic
#1C7F45 #27B160 #40D57E #72E0A0 #A4EBC2

Accessibility & contrast

On white

1.90
#40D57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#40D57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D57E
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D57E#FFFFFF#000000##000000
##40D57E1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C478
Deuteranopia (green-blind)
#C3B784
Tritanopia (blue-blind)
#00D2BF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d57e;
/* rgb */ color: rgb(64, 213, 126);
/* oklch */ color: oklch(77.5% 0.176 153.2);
Tailwind
colors: {
  custom: {
    50: '#87e3a4',
    500: '#40d57e',
    950: '#000000',
  },
}
SCSS
$custom: #40d57e;
$custom-light: #87e3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#40d57e",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 126
  },
  "hsl": {
    "h": 144.966,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77485,
    "c": 0.17572,
    "h": 153.2
  },
  "luminance": 0.50185
}

Semantic roles & 50–950 ramp

primary
#40D57E
secondary
#863364
accent
#41A2E7
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D57E

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

Preview Lab → · Contrast checker → · Palette generator →

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