Yellow is constant, red is accessory power. I'm going to bet you have a bad or incorrect connection.