These cupcakes are a little bit of whimsy: a tender, buttery yellow cupcake under a tall swirl of buttercream in every color of the rainbow. The trick is to fill separate bags with each color and tuck them side by side into one piping bag, so every swirl comes out striped without any fancy technique.
A favorite from the KitchenSimplicity archive, first baked for a birthday that landed close to St. Patrick’s Day, they work for rainbow-themed parties, Pride celebrations, Easter tables and any day that could use some color. Kids love helping to tint the frosting.
Tips
- No cake flour? Sift 1 3/4 cups (220 g) all-purpose flour with 1/4 cup (30 g) cornstarch two or three times. That makes the 2 cups of cake flour for this recipe.
- Use gel food coloring for bright, true colors. Liquid coloring gives softer pastel shades and can thin the frosting.
- Pack each color evenly in its bag, or one color will run out before the others. The first swirl or two may look uneven until all the colors flow together.
- For a hidden pot of gold, core the center of each cooled cupcake with a small knife and fill it with a teaspoon of lemon curd before frosting.
- Store frosted cupcakes in an airtight container at room temperature for up to 1 day, or in the refrigerator for up to 3 days. Let chilled cupcakes sit out for 30 minutes before serving.

