#40D581#40D581

#40D581 is a light, vivid green. Relative luminance 0.503; OKLCH L 77.5% C 0.173 H 154.0°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#40D581
RGBrgb(64, 213, 129)
HSLhsl(146, 64%, 54%)
HSVhsv(146, 70%, 84%)
CMYKcmyk(70%, 0%, 39.4%, 16.5%)
CIE-LABlab(76.23, -57.60, 30.50)
CIE-LCHlch(76.23, 65.18, 152.10°)
OKLaboklab(77.54% -0.1554 0.0759)
OKLCHoklch(77.54% 0.173 154)
XYZxyz(29.8684, 50.2601, 28.8917)
Luminance0.5026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40D581 #D54094
analogous
#4AD540 #40D581 #40D5CB
triadic
#40D581 #8140D5 #D58140
tetradic
#40D581 #404AD5 #D54094 #D5CB40
square
#40D581 #404AD5 #D54094 #D5CB40
split-complementary
#40D581 #CB40D5 #D5404A
monochromatic
#1C7F47 #27B163 #40D581 #72E0A2 #A4EBC3

Accessibility & contrast

On white

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

On black

11.05
#40D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40D581
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40D581#FFFFFF#000000##000000
##40D5811.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47B
Deuteranopia (green-blind)
#C2B787
Tritanopia (blue-blind)
#00D2C0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #40d581;
/* rgb */ color: rgb(64, 213, 129);
/* oklch */ color: oklch(77.5% 0.173 154.0);
Tailwind
colors: {
  custom: {
    50: '#87e3a6',
    500: '#40d581',
    950: '#000000',
  },
}
SCSS
$custom: #40d581;
$custom-light: #87e3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#40d581",
  "rgb": {
    "r": 64,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 146.174,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7754,
    "c": 0.17301,
    "h": 154
  },
  "luminance": 0.50263
}

Semantic roles & 50–950 ramp

primary
#40D581
secondary
#863362
accent
#419EE7
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40D581

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

Preview Lab → · Contrast checker → · Palette generator →

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