Try this.
I've heard a thousand explainations for the yellowing... Don't know which is true. Most common is that is it a by-product of the release- wax they coat the mold with so that the boat and the mold don't become one hunk of fiberglass.Anyway, it's usually a surface yellowing after sun exposure. In an inconspicuous spot, first try to compound it out with rubbing compound, followed by polishing compound and wax, such as 3M Cleaner and Wax. If this doesnt do it, you can safely get more aggressive using a fine grade of wet/dry sandpaper (working wet) such as 800 grit followed by 1500 grit, and finished with the compound and wax. Sometimes the 800 grit is not coarse enough to start the process: then you'd begin with 600 and then polish down with finer grits. Don't let the dullness and fine scratchmarks made by the 600 or 800 sandpaper frighten you... they'll vanish like magic by this technique of progressively polishing with finer and finer sandpaper and compounds.