Preheat oven to 350 degrees F. Line 2 muffin tins with 24 cupcake liners, set aside.
In a large bowl or the bowl of your stand mixer combine all the cake ingredients. Beat on low for 30 seconds, just to combine then on high for 2 minutes. Using a scoop or spoon carefully distribute batter among the 24 cupcake liners. Bake for 18 minutes or until a toothpick inserted comes out clean.
For the Caramel Coconut Pecan Frosting combine the sugar, milk, butter, vanilla and yolks in a medium saucepan. Cook over medium low heat for 10-12 minutes stirring frequently, until thick. Stir in coconut and pecans. Cool completely
For the Chocolate Frosting in a large bowl beat the butter until light in color and fluffy. Add in the powdered sugar, cocoa powder and vanilla. If too thick add in a little milk. Add in the pinch of salt. Spoon into a piping bag fitted with your desired tip.
Assembly- Put a large spoonful of caramel coconut frosting in the middle of the cupcake. Then pipe the chocolate frosting around the outside of the caramel coconut frosting.