Is there a reason "quattro automobile gialle" is not acceptable? I feel like there has never been clarification on when to use "automobili" vs. "macchina"
Quattro automobili gialle also works. Perhaps you wrote "automobilE" (singular)?
Or giallO, like I did