Thanks everyone! We've made an appointment to have all pet ears cleaned because the little kittens have been among our other animals already. I don't think it looks like coffee grounds, so I'm leaning towards wax buildup, but just to be on the safe side.
Thanks all for your advice!!