Position an oven rack in the middle of the oven and preheat the oven to 350℉. Grease a 9-inch square baking pan and line it with a parchment sling.
In a large bowl, whisk together the ½ cup unsalted butter, 1 ¾ cups granulated sugar, 3 large eggs, ½ cup whole milk, ½ cup sour cream, ½ cup almond flour, ⅓ cup vegetable or canola oil, 1 tablespoon pure vanilla extract, 1 ½ teaspoon baking powder, ¼ teaspoon baking soda, and 1 teaspoon fine salt. Stir in the 2 ½ cups oat flour, then whisk the batter until smooth.
Pour the batter into the prepared pan and use an offset spatula to smooth the top. Tap the pan gently on the counter twice to help get rid of any air bubbles. Rest the batter for about 15-20 minutes.
Place in the oven and bake for 45-55 minutes, until the cake is golden brown and a tester inserted into the center comes out clean.
Transfer the pan to a wire rack and letit cool for 20 minutes. Use the parchment sling to transfer the cake to the rack to cool completely. To serve, sift a little powdered sugar over the top of the cake if you like.
Use a deep pan. There is a lot of batter, so make sure to use a pan with deep sides! If your pan is not as deep, reserve a cup or two of batter and bake it as cupcakes.
What type of pan? Feel free to bake this cake in a 9-inch greased and lined round cake pan. You could also bake it in a 9x13-inch pan, though it will produce a thinner cake. Adjust baking times as necessary depending on the size of the pan.
Dairy-free. Swap the melted butter for non-dairy butter or oil, and change out the sour cream for non-dairy sour cream or non-dairy yogurt.
Use a flour mix. If you prefer, use a gluten free 1:1 flour such as my homemade gluten free flour blend or your preferred gluten-free baking flour for the oat and almond flours. You could also try gluten free cake flour for the oat flour for an even softer cake.
Spice it up. For extra flavor and warmth, stir in 1 teaspoon ground cinnamon or ginger, or do a combination of ½ teaspoon cinnamon, ¼ teaspoon ginger, and ¼ teaspoon nutmeg for a gentle spice blend.
A few add-ins. Throw in some chocolate chips, fresh berries, or nuts to change up the flavor of this snack cake.