With the sun at my back at upper Yosemite falls in Yosemite National Park in California, a rainbow appears when sun or mist are refracted by small water droplets usually in the form of rain or the mist from a waterfall.