#40DB52#40DB52

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

Color values

HEX#40DB52
RGBrgb(64, 219, 82)
HSLhsl(127, 68%, 55%)
HSVhsv(127, 71%, 86%)
CMYKcmyk(70.8%, 0%, 62.6%, 14.1%)
CIE-LABlab(77.50, -66.52, 54.44)
CIE-LCHlch(77.50, 85.95, 140.70°)
OKLaboklab(78.4% -0.1798 0.127)
OKLCHoklch(78.4% 0.22 144.8)
XYZxyz(28.9669, 52.3590, 16.5607)
Luminance0.5236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40DB52 #DB40C9
analogous
#7BDB40 #40DB52 #40DBA0
triadic
#40DB52 #5240DB #DB5240
tetradic
#40DB52 #407BDB #DB40C9 #DBA040
square
#40DB52 #407BDB #DB40C9 #DBA040
split-complementary
#40DB52 #A040DB #DB407B
monochromatic
#198726 #23BB35 #40DB52 #73E581 #A7EEAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40DB52#FFFFFF#000000##000000
##40DB521.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)
#DFC742
Deuteranopia (green-blind)
#CDBB5E
Tritanopia (blue-blind)
#00D5BE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #40db52;
/* rgb */ color: rgb(64, 219, 82);
/* oklch */ color: oklch(78.4% 0.220 144.8);
Tailwind
colors: {
  custom: {
    50: '#8ae788',
    500: '#40db52',
    950: '#000000',
  },
}
SCSS
$custom: #40db52;
$custom-light: #8ae788;
$custom-dark: #000000;
JSON
{
  "hex": "#40db52",
  "rgb": {
    "r": 64,
    "g": 219,
    "b": 82
  },
  "hsl": {
    "h": 126.968,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78395,
    "c": 0.22014,
    "h": 144.8
  },
  "luminance": 0.52362
}

Semantic roles & 50–950 ramp

primary
#40DB52
secondary
#8D3283
accent
#3DD7EB
background
#FCFEFC
surface
#F4FDF4
border
#CED5CE
text
#0D160C
muted
#7F847F

Preview Lab

Preview with #40DB52

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

Preview Lab → · Contrast checker → · Palette generator →

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