A big question in behavioral ecology is what drives diversity of color signals. One possible explanation is that environmental conditions, such as light environment, may alter visual signaling of prey, which could affect predator decision-making. Here, we tested the context-dependent predator selection on prey coloration. In the first experiment, we tested detectability of artificial visual stimuli to blue tits (Cyanistes caeruleus) by manipulating stimulus luminance and chromatic context of the background. We expected the presence of the chromatic context to facilitate faster target detection. As expected, blue tits found targets on chromatic yellow background faster than on achromatic grey background whereas in the latter, targets were found with smaller contrast differences to the background. In the second experiment, we tested the effect of two light environments on the survival of aposematic, color polymorphic wood tiger moth (Arctia plantaginis). As luminance contrast should be more detectable than chromatic contrast in low light intensities, we expected birds, if they find the moths aversive, to avoid the white morph which is more conspicuous than the yellow morph in low light (and vice versa in bright light). Alternatively, birds may attack first moths that are more detectable. We found birds to attack yellow moths first in low light conditions, whereas white moths were attacked first more frequently in bright light conditions. Our results show that light environments affect predator foraging decisions, which may facilitate context-dependent selection on visual signals and diversity of prey phenotypes in the wild.