Add a small amount of lemon juice alongside the pesto when mixing the pasta salad. The acid in lemon juice helps prevent oxidation and keeps the pesto green in color. It also adds a nice boost of flavor, creating a zesty pesto.