Older dogwood sawfly larvae are yellow and black.
A yellow and black caterpillar-like insect rests on a twig.

David Cappaert, Bugwood.org