Why is the last bar on my chart highlighted in a different color?

When the markets are open, bars highlighted in yellow are based on either free real-time data (in the case of US stocks) or delayed data. Bars highlighted in green are based on official real-time data from the main stock exchanges.