James Bond likes to wear a red or white carnation with his morning dress.  The flower is neither formal or informal.

Bond's preference for a white or red carnation depends on what colour he is wearing.  He knows that a red carnation, for instance, will stand out far better against an ivory dinner suit than a white carnation.