From the Super Mario Wiki
A Yellow Berry is a berry the coveted item of the Yellow Flower from Paper Mario. It is needed to pass the Yellow Flower guard in Flower Fields and restores 3 HP and 3 FP. It is recommended for the player to have some during the chapter, they make a reusable and quick health recovery. They are found along the southwest path.