#40DF81#40DF81

#40DF81 is a light, vivid green. Relative luminance 0.554; OKLCH L 80.1% C 0.186 H 152.6°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#40DF81
RGBrgb(64, 223, 129)
HSLhsl(145, 71%, 56%)
HSVhsv(145, 71%, 87%)
CMYKcmyk(71.3%, 0%, 42.2%, 12.5%)
CIE-LABlab(79.30, -61.27, 34.52)
CIE-LCHlch(79.30, 70.32, 150.60°)
OKLaboklab(80.07% -0.165 0.0854)
OKLCHoklch(80.07% 0.186 152.6)
XYZxyz(32.4616, 55.4466, 29.7561)
Luminance0.5545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DF81 #DF409E
analogous
#4FDF40 #40DF81 #40DFD0
triadic
#40DF81 #8140DF #DF8140
tetradic
#40DF81 #404FDF #DF409E #DFD040
square
#40DF81 #404FDF #DF409E #DFD040
split-complementary
#40DF81 #D040DF #DF404F
monochromatic
#188D48 #20C162 #40DF81 #74E8A4 #A9F1C6

Accessibility & contrast

On white

1.74
#40DF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#40DF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DF81
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DF81#FFFFFF#000000##000000
##40DF811.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCD7A
Deuteranopia (green-blind)
#CCBF87
Tritanopia (blue-blind)
#00DCC8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #40df81;
/* rgb */ color: rgb(64, 223, 129);
/* oklch */ color: oklch(80.1% 0.186 152.6);
Tailwind
colors: {
  custom: {
    50: '#89eaa6',
    500: '#40df81',
    950: '#000000',
  },
}
SCSS
$custom: #40df81;
$custom-light: #89eaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#40df81",
  "rgb": {
    "r": 64,
    "g": 223,
    "b": 129
  },
  "hsl": {
    "h": 144.528,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80071,
    "c": 0.18582,
    "h": 152.6
  },
  "luminance": 0.5545
}

Semantic roles & 50–950 ramp

primary
#40DF81
secondary
#92316A
accent
#3AA4EE
background
#FCFFFC
surface
#F4FEF6
border
#CED6D0
text
#0D160F
muted
#7F8580

Preview Lab

Preview with #40DF81

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

Preview Lab → · Contrast checker → · Palette generator →

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