The story
The idiomatic sense referring to a type of grape wine is from the color; this class of wines has been made for centuries (in many countries), but this particular English-language term for them was coined as a marketing term in the early 21st century (more in Wikipedia at orange wine § Terminology). The literal sense referring to a type of citrus wine is attested since the 19th century.
Etymology from Wiktionary, CC BY-SA 4.0.