Why it works: Lemon and coconut are a kitchen classic. They rank in the top 10% of all ingredient pairs, and 1,234 recipes mention both. Both carry nonanal, which smells fat, citrus. The science ↓
The recipe
Ingredients
Contains: egg (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Make the filling
In a bowl, combine the juice and grated rind of the lemon or orange.
Gradually add the confectioners' sugar and the slightly beaten egg yolks.
Cook the mixture over hot water for 10 minutes, stirring constantly.
Remove from heat and stir in the freshly grated coconut.
Assemble and finish
Cool the filling and spread it between layers of white cake.
Frost the cake with Boiled Frosting and sprinkle with more grated coconut.
Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.
Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.
-
Lemon + coconuttop 10% of all pairsAroma overlapmoderateMentioned together1,234 recipes
Shared aroma: nonanal (fat, citrus).
-
Lemon + eggtop 9% of all pairsAroma overlapmoderateMentioned together43,327 recipes
Shared aroma: (e,e)-2,4-decadienal (fatty, deep fried).
-
Lemon + sugartop 10% of all pairsAroma overlaplowMentioned together53,530 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Sugar + eggtop 10% of all pairsAroma overlapstrongMentioned together122,252 recipes
Shared aroma: 2-nonenal (fatty, green).
-
Sugar + coconuttop 13% of all pairsAroma overlaplowMentioned together5,742 recipes
Shared aroma: 1-penten-3-one (fish, pungent).
Lemon and sugar share little aroma chemistry, yet 53,530 recipes mention both: they likely work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Egg yolks
- Thicken the filling as they cook, giving it a smooth, custard-like body.
- Confectioners' sugar
- Sweetens the filling and dissolves smoothly into the citrus juice.
- Lemon or orange juice and rind
- Adds bright acidity and aroma that balance the sweetness.
- Freshly grated coconut
- Adds texture and a chewy, tender bite to the filling.
The step that matters
Cook over hot water while stirring constantly. Egg yolks begin to thicken near simmering temperatures but can scramble if overheated or left unstirred. Gentle, constant stirring over hot water keeps the mixture smooth and evenly thickened.
Flavor stand-ins for the coconut
How well each one fits the dish's main ingredients (lemon, sugar, egg):
- Orangebetter flavor fit
- Vanillabetter flavor fit
- Raspberrybetter flavor fit
- Coconutthe original
Fit is the average pairing score against lemon, sugar, egg. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).
“What each ingredient does” and “The step that matters” were written by Claude, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
You might also like
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.
Illustration
Illustration
Illustration
Illustration