A yellow flame can be dangerous as it indicates incomplete combustion, potentially releasing harmful gases like carbon monoxide. It should be addressed promptly.