If the flavor of basil is too strong, pesto can be mellowed out by cutting down or substituting the amount of basil. Baby spinach leaves are a good substitute as they have that vibrant green color but do not have a strong taste like basil.