What happens when you mix red and green together?

When you mix red and green using paint, crayons, or colored pencils you get a shade of brown. When you use red and green light however, you get yellow.