Quick answer
До́брый ве́чер!
dóbryy vécher — nominative, because it is a greeting — not a wish
The options
Greeting or wish?
Greetings stay in the nominative: до́брый ве́чер, до́брое у́тро, до́брый день. Wishes go in the genitive: споко́йной но́чи, до́брого пути́, всего́ хоро́шего. The case tells you whether someone is arriving or leaving.
When which
До́брое у́тро until about midday, до́брый день until about five, до́брый ве́чер after that. If in doubt, до́брый день works almost round the clock, and здра́вствуйте always does.
What you hear back
Typical mistakes
До́брого ве́чера! — as a greeting
До́брый ве́чер!
The genitive turns it into a wish on parting.
Споко́йной но́чи when arriving
До́брый ве́чер
Good night is only for leaving.
Check yourself
Which case does a greeting use?