For spawning, mobs need an optimum light level that helps them to spawn and this optimum light level is – above 7.