Corn cobs have a high carbon content, making them a brown compost material. If you're adding cobs to your compost pile, make sure to include some green stuff as well for a well-balanced pile.