Homemade Yellow Cake Classic (Printer-Friendly)

Moist yellow cake with rich chocolate frosting. Buttery, soft crumb—easy to bake for birthdays or simple gatherings.

# What You'll Need:

→ Cake

01 - 375 g all-purpose flour
02 - 10 g baking powder
03 - 2 g baking soda
04 - 225 g salted butter, at room temperature
05 - 60 ml vegetable oil
06 - 350 g granulated sugar
07 - 3 large eggs, at room temperature
08 - 2 large egg yolks, at room temperature
09 - 10 ml vanilla extract
10 - 250 ml buttermilk, at room temperature

→ Chocolate Frosting

11 - 225 g salted butter, at room temperature
12 - 50 g unsweetened cocoa powder
13 - 400 g powdered sugar
14 - 3 g salt
15 - 10 ml vanilla extract
16 - 60–75 ml heavy whipping cream, at room temperature
17 - Sprinkles, optional

# Steps to Follow:

01 - Preheat oven to 175°C. Lightly grease a 23x33x8 cm baking dish with nonstick spray and set aside.
02 - In a medium bowl, whisk together flour, baking powder, and baking soda until thoroughly blended.
03 - In the bowl of a stand mixer fitted with the paddle attachment, or with an electric hand mixer, beat the butter, vegetable oil, and sugar for 3 minutes on medium speed until light and fluffy.
04 - Add eggs one at a time, mixing well after each addition. Add the egg yolks and vanilla extract, blending until smooth and combined.
05 - Add half of the dry mixture to the batter and mix on low speed until just combined. Pour in half of the buttermilk and blend until smooth. Repeat with remaining dry ingredients and buttermilk, scraping the bowl to ensure an even batter.
06 - Transfer the batter into the prepared baking dish and smooth the surface. Bake for 35–40 minutes, or until a toothpick inserted in the center emerges clean. If excessive browning occurs, loosely cover with foil. Remove from oven and cool completely in the dish.
07 - In a stand mixer or large bowl with a hand mixer, beat the butter until smooth. Gradually add cocoa powder and mix until uniformly incorporated.
08 - Add powdered sugar in batches, beating thoroughly between additions until thick. Add salt, vanilla extract, and 60 ml of heavy cream. Continue mixing until the frosting is smooth and spreadable. If needed, add up to 15 ml more cream for desired consistency. Increase speed and whip for 3 minutes until fluffy, scraping down sides as necessary.
09 - Spread frosting evenly over the cooled cake. Garnish with sprinkles if using. Slice and serve at room temperature.

# Extra Suggestions:

01 - For optimal texture and aeration, ensure all ingredients are at room temperature prior to mixing.
02 - Store cake in an airtight container at room temperature for up to 5 days or freeze for up to 3 months.
03 - Do not substitute buttermilk; it is essential for a moist, tender crumb.