The Meaning of Life, the Universe, and Everything.
Provided the wiki has up to date information:
Hostile mobs require a light level of 7 or less to spawn
The light emitted decreases by one for each square of distance from the light source. Glass does not diminish the light that passes through it, but water or ice reduces light that passes through it by 3.