#40DE7F#40DE7F

#40DE7F is a light, vivid green. Relative luminance 0.549; OKLCH L 79.8% C 0.186 H 152.3°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#40DE7F
RGBrgb(64, 222, 127)
HSLhsl(144, 71%, 56%)
HSVhsv(144, 71%, 87%)
CMYKcmyk(71.2%, 0%, 42.8%, 12.9%)
CIE-LABlab(78.96, -61.25, 35.09)
CIE-LCHlch(78.96, 70.59, 150.19°)
OKLaboklab(79.78% -0.165 0.0867)
OKLCHoklch(79.78% 0.186 152.3)
XYZxyz(32.0636, 54.8612, 28.9740)
Luminance0.5486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DE7F #DE409F
analogous
#50DE40 #40DE7F #40DECE
triadic
#40DE7F #7F40DE #DE7F40
tetradic
#40DE7F #4050DE #DE409F #DECE40
square
#40DE7F #4050DE #DE409F #DECE40
split-complementary
#40DE7F #CE40DE #DE4050
monochromatic
#188B46 #21C060 #40DE7F #74E7A2 #A8F0C5

Accessibility & contrast

On white

1.75
#40DE7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#40DE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DE7F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DE7F#FFFFFF#000000##000000
##40DE7F1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC78
Deuteranopia (green-blind)
#CBBE85
Tritanopia (blue-blind)
#00DBC7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #40de7f;
/* rgb */ color: rgb(64, 222, 127);
/* oklch */ color: oklch(79.8% 0.186 152.3);
Tailwind
colors: {
  custom: {
    50: '#89e9a5',
    500: '#40de7f',
    950: '#000000',
  },
}
SCSS
$custom: #40de7f;
$custom-light: #89e9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#40de7f",
  "rgb": {
    "r": 64,
    "g": 222,
    "b": 127
  },
  "hsl": {
    "h": 143.924,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79783,
    "c": 0.18633,
    "h": 152.3
  },
  "luminance": 0.54865
}

Semantic roles & 50–950 ramp

primary
#40DE7F
secondary
#91316B
accent
#3AA6ED
background
#FCFEFC
surface
#F4FDF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #40DE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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