If lighting is scarce, the camera tries to adapt by being more sensitive. As a result, pictures may tend to be grainy. To avoid this, add more light to the scene.
Pictures tend to be yellow when the available light is from a tungsten (incandescent, standard light bulb) source as opposed to a natural source.