Could be an electrically conductive adhesive, but I don't know why they would use such in that application where normal reflow would have done, and the brown gunk around led outline looks like flux residue.
Take one of the LEDs you took off and apply a soldering iron directly to the remaining black stuff, see if it flows, could just be a weird looking, or just bad solderpaste.