Why it works: Coconut and vanilla match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and cooks put them together in 2,294 recipes. Both carry ethyl caproate, which smells fruity, apple peel. The science ↓
Cocoanut Cream Candy
Ingredients
Directions
Make the candy
Melt butter in a granite saucepan.
Add sugar and milk, stirring until sugar dissolves.
Heat to boiling point and boil for twelve minutes.
Finish and set
Remove from heat, add coconut and vanilla, and beat until creamy.
Pour into a buttered pan, cool slightly, and mark in squares.
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.
Photo for illustrative purposes only · Contact us to use it
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.
-
Coconut + vanillatop 1% of all pairsSmell alikestrongCooked together2,294 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Milk + vanillatop 5% of all pairsSmell alikemoderateCooked together19,187 recipes
Shared aroma: ethyl caproate (fruity, apple peel).
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Sugar + vanillatop 8% of all pairsSmell alikelowCooked together35,032 recipes
Shared aroma: beta-damascenone (apple, rose).
-
Milk + coconuttop 10% of all pairsSmell alikemoderateCooked together2,648 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
Sugar and vanilla barely smell alike, yet cooks put them together in 35,032 recipes: they 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
- Sugar
- Dissolves and cooks into the candy, providing sweetness and the firm body once it boils.
- Milk
- Adds liquid and milk solids that give the candy a creamy, softer texture.
- Butter
- Adds fat that makes the candy smoother and richer in mouthfeel.
- Shredded coconut
- Adds coconut flavour and chewy texture to the creamy mixture.
The step that matters
Beating after removing from heat. Beating the boiled mixture while it cools causes sugar to crystallise into fine crystals, which gives the creamy texture. Beating too early or too late changes how the candy sets.
Swap the coconut
How well each one fits the dish's main ingredients (sugar, butter, milk, vanilla):
- Figfits about as well
- Peachfits about as well
- Coconutthe original
- Strawberryfits about as well
Fit is the average pairing score against sugar, butter, milk, vanilla. Candidates are from the same food group and used in at least 100 recipes.
“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.
You might also like
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.

Vanilla Ice Cream108 recipes
White Cake431 recipes
Pound Cake373 recipes
Orange Bundt Cake349 recipes