While you can technically use brown basil leaves in pesto, it is not recommended. The brown spots can affect the flavor and texture of the pesto, and the leaves may not be as fresh and healthy as green leaves. It is best to use fresh, green basil leaves for the best flavor and quality.