The function of the noun phrase <em>Green, leafy vegetables </em>in this sentence is that of the subject of the sentence.
What contains important vitamins for a healthy body? - Green, leafy vegetables.
The red apple was juicy.
Did you see that blue car drive by?
That flower was very pretty.
I love reading large books, especially with colorful pictures.
The wagon was red and had brand new wheels.