#40DB51#40DB51

#40DB51 is a light, highly saturated green. Relative luminance 0.523; OKLCH L 78.4% C 0.221 H 144.6°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#40DB51
RGBrgb(64, 219, 81)
HSLhsl(127, 68%, 55%)
HSVhsv(127, 71%, 86%)
CMYKcmyk(70.8%, 0%, 63%, 14.1%)
CIE-LABlab(77.49, -66.62, 54.85)
CIE-LCHlch(77.49, 86.30, 140.53°)
OKLaboklab(78.39% -0.1801 0.1278)
OKLCHoklch(78.39% 0.221 144.6)
XYZxyz(28.9292, 52.3439, 16.3618)
Luminance0.5235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DB51 #DB40CA
analogous
#7CDB40 #40DB51 #40DB9F
triadic
#40DB51 #5140DB #DB5140
tetradic
#40DB51 #407CDB #DB40CA #DB9F40
square
#40DB51 #407CDB #DB40CA #DB9F40
split-complementary
#40DB51 #9F40DB #DB407C
monochromatic
#198725 #23BB34 #40DB51 #73E580 #A7EEAF

Accessibility & contrast

On white

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

On black

11.47
#40DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #40DB51
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40DB51#FFFFFF#000000##000000
##40DB511.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40db51;
/* rgb */ color: rgb(64, 219, 81);
/* oklch */ color: oklch(78.4% 0.221 144.6);
Tailwind
colors: {
  custom: {
    50: '#8ae787',
    500: '#40db51',
    950: '#000000',
  },
}
SCSS
$custom: #40db51;
$custom-light: #8ae787;
$custom-dark: #000000;
JSON
{
  "hex": "#40db51",
  "rgb": {
    "r": 64,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 126.581,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78385,
    "c": 0.22086,
    "h": 144.6
  },
  "luminance": 0.52347
}

Semantic roles & 50–950 ramp

primary
#40DB51
secondary
#8D3283
accent
#3DD8EB
background
#FCFEFC
surface
#F4FDF3
border
#CED5CD
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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