You should always bear in mind that yellow is always difficult to match because of the tendency of yellows to be bright. It is therefore necessary to make sure to use muted shades of yellow or else stick to pastel shades of yellow.
The analogous colors to yellow are green and orange, and should also be muted or soft shades for best effect. Avoid going for dark shades of the analogous color to prevent making the yellow appear even brighter than it is already.
The compliment to yellow is violet, and must be treated with special care because of the intensifying effect of the complimentary color match. In the case of yellow-violet matches, try to keep one color restricted to the status of accent color to prevent either color from being overpowering.
Be especially cautious in attempting to match yellow with red and blue shades.
See also: Color matching