1. A method for calibrating automatic white balance (AWB) in a digital system, the method comprising: capturing an image of a test target under a natural lighting condition; generating a first color temperature reference from the captured image; and outputting AWB configuration data for the digital system, wherein the AWB configuration data comprises the first color temperature reference and a second color temperature reference generated using the test target under simulated lighting conditions.