There is something cheerful about a green cake. The color catches your eye first, but the fresh lime fragrance is what makes you reach for a slice. I developed this Green Cake (Lime Cake) for the days when a simple bake needs a little extra personality. It is soft without being heavy, bright without tasting sour, and finished with a smooth lime glaze that settles into the top of the cake.
The cake has a tender crumb from coconut milk and oil, while lime zest gives every bite a clean citrus flavor. A small amount of green food coloring creates the pretty shade, although you can leave it out if you prefer a naturally colored dessert. Serve it with tea in the afternoon, bring it to a family gathering, or make it as one of those Yummy Cakes that instantly brightens the table.
How To Make Green Coconut Cake
Start by preparing a 20-centimeter round cake pan. Grease it well and line the base with parchment paper. This simple step makes the cooled cake much easier to remove without damaging its delicate edges. Heat the oven to 160°C, or 325°F, so it is ready when the batter is mixed.
Ingredients for the Lime Cake
- 240 grams granulated sugar
- 5 large eggs, separated
- 150 grams plain all-purpose flour
- 150 milliliters full-fat coconut milk
- 50 milliliters neutral vegetable oil
- Zest of 2 fresh limes
- Juice of 1 lime
- ⅓ cup unsweetened coconut flakes
- 1½ teaspoons pandan extract or 1 teaspoon vanilla extract
- ½ teaspoon fine salt
- ¼ teaspoon green food coloring, optional
- 150 grams powdered sugar for the glaze
- 2 to 3 tablespoons fresh lime juice for the glaze
Whisk the egg yolks with half of the sugar until pale and creamy. Mix in the oil, coconut milk, lime juice, lime zest, pandan or vanilla, and food coloring. Sift in the flour and salt, then stir gently until the batter looks smooth. Fold in the coconut flakes, keeping the mixture light.
In a separate bowl, beat the egg whites until foamy. Gradually add the remaining sugar and continue beating until glossy, firm peaks form. Fold the whites into the lime mixture in three additions. Use a spatula and turn the batter gently rather than stirring quickly. That air is what helps create the soft, almost cloud-like texture.

Creamy Lime Cake Recipe Baking Tips
Pour the batter into the prepared pan and tap it lightly on the counter to release any large air pockets. Bake for 50 to 60 minutes, or until a skewer inserted into the center comes out clean or with a few moist crumbs. If the top begins to brown too quickly, loosely cover it with foil during the final part of baking.
Let the cake cool in the pan for about 10 minutes, then turn it onto a wire rack. Do not glaze it while it is hot, because the topping will melt and slide away. For the glaze, whisk the powdered sugar with lime juice until thick but pourable. Add the juice slowly, since a little can change the consistency quickly.
Lime Desserts: Pro Tips and Variations
- Use fresh limes for both zest and juice. Bottled juice will not provide the same fragrant flavor.
- Bring the eggs and coconut milk to room temperature for a smoother batter.
- Fold the egg whites gently and stop as soon as no large white streaks remain.
- For a deeper green color, add food coloring one drop at a time rather than using too much.
- Toast the coconut flakes lightly before adding them for a warmer, nuttier taste.
For a tropical variation, replace half of the coconut flakes with finely chopped macadamia nuts. A few drops of pandan extract create a more distinctive green coconut flavor. You can also make a simple Key Lime Cake by using key limes when they are available. Their smaller size brings a particularly fragrant, tart note.
Lime Recipes Troubleshooting and Substitutions
If the cake sinks in the middle, the oven door may have been opened too early or the egg whites may have been underbeaten. If the crumb feels dense, the whipped whites were probably folded too vigorously. A dry cake usually means it baked too long, so begin checking it a few minutes before the suggested time.
Use regular milk instead of coconut milk if necessary, although the coconut flavor will be milder. Sunflower oil, canola oil, or another neutral oil can replace vegetable oil. Lemon zest and juice work in a pinch, but the result will taste more like a classic citrus sponge than a lime dessert. Unsweetened shredded coconut is the best substitute for coconut flakes.
Storage and Serving Suggestions
Keep the glazed cake in an airtight container at room temperature for up to two days. For longer storage, refrigerate it for up to five days and allow each slice to sit at room temperature for 20 minutes before serving. The crumb becomes softer as it warms, and the lime aroma comes through much better.
Finish each serving with extra lime zest, coconut flakes, or a thin slice of lime. It is lovely with black tea, iced coffee, or a spoonful of lightly whipped cream. The cake is sweet enough to stand alone, but the fresh topping makes it feel especially festive.
Green Cake (Lime Cake) FAQs
Can I make this cake without green food coloring?
Yes. The cake will have a pale golden or slightly green tint from the lime and pandan extract, depending on the ingredients used.
Can I use bottled lime juice?
Fresh lime juice is strongly recommended because it tastes brighter. Bottled juice can be used, but always use fresh zest for the best aroma.
Why did my cake become dense?
Dense texture usually comes from overmixing after adding the flour or deflating the whipped egg whites during folding.
Can I bake it in a loaf pan?
Yes, but the baking time may change. Begin checking the center after 45 minutes and continue baking until a skewer comes out clean.
Is coconut milk necessary?
Coconut milk adds moisture and a gentle tropical flavor, but full-fat dairy milk can replace it if needed.
Can I freeze the cake?
Freeze the unglazed cake tightly wrapped for up to two months. Thaw it overnight in the refrigerator, bring it to room temperature, and add the glaze before serving.

Green Cake (Lime Cake)
Ingredients
Equipment
Method
- Preheat the oven to 160°C or 325°F. Grease a 20-centimeter round cake pan and line the base with parchment paper.
- Whisk the egg yolks with half of the sugar until pale and creamy. Mix in the oil, coconut milk, lime juice, lime zest, pandan extract, and optional food coloring.
- Sift in the flour and salt, then stir gently until smooth. Fold in the coconut flakes.
- Beat the egg whites until foamy. Gradually add the remaining sugar and beat until glossy, firm peaks form.
- Fold the whipped egg whites into the batter in three additions, using a spatula and taking care not to deflate the mixture.
- Pour the batter into the prepared pan and bake for 50 to 60 minutes, or until a skewer inserted in the center comes out clean.
- Cool the cake in the pan for 10 minutes, then transfer it to a wire rack and cool completely.
- Whisk the powdered sugar with the fresh lime juice until thick and pourable. Drizzle the lime glaze over the cooled cake before slicing.
Notes
- Use fresh limes for the brightest flavor.
- Fold the egg whites gently to keep the cake light.
- Store in an airtight container for up to 2 days at room temperature or 5 days in the refrigerator.
- Freeze the unglazed cake for up to 2 months.
