Yellow eyes, brown tree bark like body with copper colored head.
This is an Eastern Tiger Swallowtail caterpillar
It’s ready to pupate. I will assume it is the eastern, but since you did not say where you were from, it could also be the western tiger swallowtail(west of the Rockies) or the Canadian(Canada and very northern US states).
The eastern tiger swallowtail is found east of the Rockies. The adults feed on nectar of flowers while the caterpillars feed on leaves of black cherry, Magnolia, and tulip tree.
If you are west of the rockies then the name would change…so let us know where you saw this caterpillar.