#40DB54#40DB54

#40DB54 is a light, highly saturated green. Relative luminance 0.524; OKLCH L 78.4% C 0.219 H 145.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#40DB54
RGBrgb(64, 219, 84)
HSLhsl(128, 68%, 55%)
HSVhsv(128, 71%, 86%)
CMYKcmyk(70.8%, 0%, 61.6%, 14.1%)
CIE-LABlab(77.51, -66.30, 53.60)
CIE-LCHlch(77.51, 85.26, 141.04°)
OKLaboklab(78.42% -0.1791 0.1254)
OKLCHoklch(78.42% 0.219 145)
XYZxyz(29.0441, 52.3899, 16.9674)
Luminance0.5239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DB54 #DB40C7
analogous
#79DB40 #40DB54 #40DBA1
triadic
#40DB54 #5440DB #DB5440
tetradic
#40DB54 #4079DB #DB40C7 #DBA140
square
#40DB54 #4079DB #DB40C7 #DBA140
split-complementary
#40DB54 #A140DB #DB4079
monochromatic
#198728 #23BB37 #40DB54 #73E582 #A7EEB0

Accessibility & contrast

On white

1.83
#40DB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#40DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DB54
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DB54#FFFFFF#000000##000000
##40DB541.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC745
Deuteranopia (green-blind)
#CDBB60
Tritanopia (blue-blind)
#00D5BE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40db54;
/* rgb */ color: rgb(64, 219, 84);
/* oklch */ color: oklch(78.4% 0.219 145.0);
Tailwind
colors: {
  custom: {
    50: '#8ae789',
    500: '#40db54',
    950: '#000000',
  },
}
SCSS
$custom: #40db54;
$custom-light: #8ae789;
$custom-dark: #000000;
JSON
{
  "hex": "#40db54",
  "rgb": {
    "r": 64,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 127.742,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78416,
    "c": 0.21866,
    "h": 145
  },
  "luminance": 0.52393
}

Semantic roles & 50–950 ramp

primary
#40DB54
secondary
#8D3282
accent
#3DD5EB
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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