Thanks. The yellow sets the temperature for the whole painting. It can also be done in umber. Salmon color (sort of a pink orange) believe it or not is very useful for underpainting sunlight. The only downside is that you have to remember to cool your shadow areas. The rule is warm light source means cool shadows, and cool light source means warm shadows. If the balance is wrong the painting can look muddy or chalky. On mine I probably should have put some blues in the rock wall shadows, at least in the recesses.
As a fun fact, Salvador Dali used to glaze yellow into his darkest shadows (it gives a airy atmosphere in the shadows that you can't get with just black.