There are two components to this: the quality of matcha and the oven temperature. An oven temperature that's too high can cause what is called enzymatic browning. This is why we use an oven temperature of 325°F, a bit lower temp than what we would typically bake cookies at. Keep in mind that some matcha powders that aren't high quality can turn brown, too.