I wanted to replicate in-game lock icons with the required Command point labels. First attempt creating a strong enough text shadow around the numbers failed though as it depends quite a lot on font weight.
Then I learned something new: You can apply multiple text-shadows to one element.

CSS3
It's quite close to how it looks in-game.