Is a newborn having green stool bad?

No. A stools color is generally due to the bile added to the poo as it travels through the digestive process. If it moves through quickly, it is more likely a shade of bilious green, slower a yellow & if it has time for gut bacteria to change it further it will be a brown. Baby poo is expected to range well within this green to brown color palate.