Definition of king's yarn in US English:

king's yarn

noun

rare, historical
  • Yarn of a distinctive colour woven into a rope for the purpose of identifying it as crown property; (chiefly and in earliest use in similative and figurative contexts) an indicator of a particular quality, character, etc.

Origin

Early 19th century; earliest use found in Blackwood's Magazine.