It's due to the cocoa powder that is used. Oreos contain black cocoa powder which is cocoa beans that have been heavily Dutched, meaning they've been soaked in a solution that removes the acidity and mellows out the flavor — it also darkens the color of the cocoa powder.