Spaghetti with Yellow Tomato Pesto: How to Make It
| ~8 min read | Pasta Sauces
Sections
Yes — spaghetti with yellow tomato pesto is a real and very good dish, and it works exactly like green pesto but with a rounder, sweeter, less herbal character. You make a pesto-style sauce in a food processor or mortar from yellow tomatoes (or yellow cherry tomatoes), toasted nuts, garlic, cheese and olive oil, then toss it with hot spaghetti and a splash of starchy pasta water so it clings. The result is bright, mild and slightly sweet, closer to a loose tomato-almond sauce than to the basil pesto you know.
What Yellow Tomato Pesto Actually Is
Pesto is a technique, not a fixed recipe: a raw, uncooked sauce of crushed aromatics, nuts, cheese, oil and something green or fruity. Classic pesto alla genovese uses basil; pesto alla trapanese from Sicily uses raw tomatoes and almonds; pesto rosso uses sun-dried tomatoes. Yellow tomato pesto belongs to that same tomato-based family, and it exists because yellow and golden tomatoes behave differently from red ones.
Yellow tomato varieties — Yellow Pear, Golden Jubilee, Lemon Boy, Yellow Brandywine, or simple yellow cherry tomatoes — are typically lower in acid and higher in sugar than red tomatoes. That means the pesto tastes sweeter and gentler, with less of the sharp tang you get from a raw red tomato sauce. Because the colour is soft and buttery, the sauce also does not look like a tomato sauce at all, so it surprises people at the table.
Two things are worth being clear about. First, yellow tomato pesto is usually a raw sauce: the tomatoes go in uncooked, so it should be eaten the day it is made and never left out at room temperature for long. Second, despite the name, it does not have to contain basil. Many versions pair the tomatoes with basil, but thyme, marjoram or flat-leaf parsley work well, and some cooks leave herbs out entirely to let the sweetness show.
Ingredients and Why Each One Matters
A reliable ratio for four servings of spaghetti (about 12 oz / 340 g dried) is roughly: 1 lb (450 g) ripe yellow tomatoes, 1/3 cup toasted nuts, 1 small garlic clove, 1/2 cup finely grated hard cheese, 1/2 cup good olive oil, salt and pepper. Here is what each component is doing:
- Yellow tomatoes: the body and sweetness. Use ripe ones at room temperature; refrigerated tomatoes turn mealy and watery. If they are very juicy, halve them, salt lightly and drain for 10 minutes so the pesto does not turn soupy.
- Nuts: almonds and pine nuts are the classic choices, but walnuts, pistachios or blanched hazelnuts all work. Toasting them for 6–8 minutes at 350°F (175°C) deepens the flavour; raw nuts make the sauce taste flat.
- Garlic: one small clove, not three. Raw garlic in an uncooked sauce sharpens over time.
- Cheese: Parmigiano-Reggiano or a firm pecorino for salt and umami. Grate it finely so it emulsifies rather than clumping.
- Olive oil: a fruity extra-virgin oil, added gradually so the sauce emulsifies into a creamy paste instead of separating.
- Acid and seasoning: a squeeze of lemon or a few drops of red wine vinegar if the tomatoes are very sweet, plus salt and black pepper. Taste before adding salt — the cheese is salty.
How to Make It, Step by Step
- Bring a large pot of water to a boil and salt it generously — about 1 tablespoon of salt per 4 quarts (about 3.8 L) of water. Use at least 4 quarts for 12 oz of spaghetti so the strands do not stick.
- Toast the nuts and let them cool completely. Warm nuts will cook the garlic and dull the flavour.
- Pulse the garlic and nuts in a food processor until coarsely chopped, then add the tomatoes, cheese and herbs and pulse briefly — 5 to 8 one-second pulses. You want a textured sauce, not a purée; over-processing turns it pale and foamy.
- With the machine running, drizzle in the olive oil in a thin stream. Season with salt, pepper and lemon juice to taste.
- Cook the spaghetti in the boiling water until al dente, usually 1 to 2 minutes less than the package time. Before draining, scoop out and reserve about 1 cup (240 ml) of the starchy cooking water.
- Drain the pasta and return it to the warm pot off the heat. Add the pesto and toss, adding reserved pasta water a tablespoon at a time until the sauce coats every strand and pools slightly at the bottom.
- Serve immediately with extra grated cheese and a drizzle of olive oil. This is not a dish that waits well.
A mortar and pestle gives a more rustic, chunkier texture and is traditional for pesto, but a food processor is perfectly fine for a tomato-based version.
Choosing Tomatoes and Getting the Consistency Right
The single biggest variable is how watery your tomatoes are. Large slicing tomatoes are often juicy and dilute the sauce; cherry tomatoes, plum types and paste varieties are denser. If the pesto looks loose, you have three fixes: drain the tomatoes before processing, add another tablespoon of ground nuts or grated cheese to bind it, or simply let the pasta water do the loosening at the end and use less of it.
If the pesto looks stiff or pasty, loosen it with a spoonful of warm water or a little more oil. Room-temperature pesto emulsifies better than cold, so take it out of the fridge 20 minutes before using. Peeling the tomatoes is optional; some cooks blanch them for 30 seconds and slip off the skins for a silkier sauce, while others leave the skins on for texture. Yellow skins are thin and rarely objectionable.
Storage, Leftovers and Food Safety
Because yellow tomato pesto is a raw sauce containing fresh garlic, uncooked produce and cheese, treat it with more care than a cooked sauce.
- Refrigerate pesto in a sealed container within 2 hours of making it (1 hour if the room is above 90°F / 32°C), and keep it at 40°F (4°C) or below.
- Press plastic wrap directly onto the surface or float a thin layer of olive oil on top to slow browning from oxidation. It keeps about 3 days in the fridge — the garlic gets hotter and the colour dulls after that.
- To freeze, portion into small containers or ice-cube trays and freeze at 0°F (-18°C) for up to 3 months. Leave headspace, as the sauce expands. Thaw in the fridge overnight, not on the counter.
- Leftover dressed spaghetti keeps 3–4 days refrigerated. Reheat in a pan with a splash of water over medium heat, or in the microwave, until steaming hot — 165°F (74°C). Do not eat dressed pasta that has sat out at room temperature for hours; cooked pasta left warm can support bacterial growth.
- Never taste raw dough or batter containing raw flour, and if you make homemade egg pasta to go with this sauce, use pasteurized eggs for anyone pregnant, elderly, very young or immunocompromised. Egg dishes should reach 160°F (71°C) when cooked.
Yellow Tomato Pesto vs Other Pestos
It helps to know where this sauce sits among its relatives:
- Basil pesto (genovese): herbal, sharp, intensely green. Uses far less tomato and far more basil; the two are not interchangeable in a recipe, though either can dress spaghetti.
- Red tomato pesto: made with raw red tomatoes or sun-dried tomatoes. Tarter and more acidic than the yellow version; sun-dried tomato pesto is saltier and more concentrated.
- Trapanese pesto: Sicilian raw tomato and almond pesto, usually with mint and garlic. Closest relative to yellow tomato pesto, but sharper and more aromatic.
- Yellow tomato sauce (cooked): simmered with onion and garlic, thicker and more savoury. The pesto version is fresher and looser and should not be simmered, since cooking dulls its colour and sweetness.
A common misconception is that yellow tomatoes are unripe. They are not — yellow and golden varieties are ripe when they are deep yellow, slightly soft and fragrant. Green tomatoes are the unripe ones, and they are firm, tart and quite different to cook with.
Variations Worth Trying
Once the base works, small changes shift the character substantially. Swap pine nuts for blanched almonds for a rounder, creamier sauce, or pistachios for a sweeter, greener edge. Add a pinch of chilli flakes for heat, a teaspoon of lemon zest for lift, or a spoonful of ricotta for a creamier coating sauce — ricotta versions need a little more pasta water to loosen. A handful of toasted breadcrumbs on top adds crunch and is traditional in southern Italian pasta dishes. For a vegan version, replace the cheese with nutritional yeast and add a little extra salt; the sauce will be less savoury, so a few drops of soy sauce or miso can help.
For shape, spaghetti is the classic partner, but linguine, bucatini and trofie all hold the sauce well. Short shapes like fusilli or orecchiette catch the tomato chunks in their curves, which many cooks prefer.
Frequently Asked Questions
Can I use yellow cherry tomatoes instead of large ones?
Yes, and they are arguably better: cherry tomatoes are denser and sweeter, so the pesto is less watery. Use the same weight, halve them, and pulse briefly so they stay chunky rather than turning into juice.
Do I have to cook the pesto?
No. Yellow tomato pesto is designed as a raw sauce, and heating it dulls the fresh flavour and turns the colour dull. The only heat it gets is from the hot drained pasta, which is enough to warm it through.
Why did my pesto turn out bitter?
Usually raw garlic, under-toasted or old nuts, or olive oil that has gone stale. Use one small garlic clove, toast the nuts before using, and taste the oil. Bitter greens or herbs past their prime are another common cause.
How much pesto should I use per portion of spaghetti?
Roughly 3 to 4 tablespoons of pesto per 3 oz (85 g) of dried spaghetti, which is one generous serving. Start with less and add more after tossing, since the pasta water dilutes the intensity.
Can I make yellow tomato pesto ahead of time?
You can make it a few hours ahead and refrigerate it, but the raw garlic sharpens and the colour fades. Make it the same day you plan to serve it, and add the cheese and lemon just before tossing if you want the brightest result.
Is yellow tomato pesto safe to eat raw?
Yes, for most people, provided you wash the tomatoes and herbs, keep it refrigerated, and eat it within about three days. Anyone at higher risk from foodborne illness should be mindful that it is an uncooked sauce containing fresh produce and raw garlic.