An object with the spectral type L (also called L-dwarf) can be either a low-mass star, a brown dwarf or a young free-floating planetary-mass object. If a young exoplanet or planetary-mass companion is detected via direct imaging, it can also have an L spectral type, such as Kappa Andromedae b.