The baby's first poo: dark, sticky and almost odourless.
It is greenish, almost black, and usually passed in the first 24 to 48 hours of life. As the baby feeds, it becomes lighter and turns yellowish. If the baby has not passed meconium in the first 48 hours, or if there was meconium in the amniotic fluid at birth, the healthcare team will assess it.
Source: NHS, newborn poo (meconium is passed during birth or in the first 48 hours) — https://www.nhs.uk/baby/caring-for-a-newborn/how-to-change-your-babys-nappy/