Ingredients
Method
- Preheat oven to 350°F (177°C). Line a 12-cup muffin pan with paper liners.
- In a large bowl, whisk flour, sugar, cocoa powder, baking soda, and salt until well combined.
- In a second bowl, whisk buttermilk, oil, eggs, vanilla, vinegar, and green gel food coloring until smooth and evenly tinted.
- Pour the wet ingredients into the dry and whisk just until the flour disappears and the batter is smooth. Do not overmix.
- Divide the batter evenly among liners, filling each about two-thirds full.
- Bake 17 to 20 minutes, until the tops spring back lightly and a toothpick comes out with a few moist crumbs.
- Cool in the pan for 5 minutes, then transfer cupcakes to a wire rack to cool completely before frosting.
- Make the frosting: Beat the cream cheese on medium speed until creamy, 30 seconds. Add the softened butter and beat until smooth and slightly fluffy, 1 to 2 minutes.
- Add powdered sugar, vanilla, and salt. Mix on low until combined, then increase to medium and beat until thick and smooth, 1 to 2 minutes, adding heavy cream as needed for a pipeable consistency.
- Pipe or spread frosting onto cooled cupcakes and finish with green sprinkles if using.
Notes
For vivid color, start with 1 teaspoon gel coloring and add more drop by drop until the batter is a shade darker than you want; it lightens a bit when baked.
Use natural cocoa, not Dutch-processed, to keep the acid-base balance for a better rise.
Chill frosting for 10 minutes if it softens while you work, then beat briefly to smooth.
