Checking contrast against lightness level.