The chemical reactions and pathways involving luteolin, 2-(3,4-dihydroxyphenyl)-5,7-dihydroxy-4H-chromen-4-one.