Two men have been slashed with a knife during a fight aboard a yacht off the Queensland coast.

Two men have been slashed with a knife during a fight on a yacht off Great Keppel Island in Queensland.

Police said three men got into a fight on the vessel about 5.30pm on Monday.

Two men, aged 39 and 42, suffered knife wounds to their arms and wrists.

Police are yet to lay charges over the fight, which also involved a 62-year-old man.