Yoga Sutras 4.7
Patanjali, explained by Swami Vivekananda
कर्माशुक्लाकृष्णं योगिनस्त्रिविधमितरेषाम् ॥
karmāśuklākṛṣṇaṃ yoginastrividhamitareṣām
Works are neither black nor white for the Yogis; for others they are threefold — black, white, and mixed.
In plain words: For most people, actions are bad, good or mixed, and they bring results that bind them. A perfected yogi does good without wanting anything back, so the actions do not bind him.
Swami Vivekananda explains
When the Yogi has attained perfection, his actions, and the Karma produced by those actions, do not bind him, because he did not desire them. He just works on; he works to do good, and he does good, but does not care for the result, and it will not come to him. But, for ordinary men, who have not attained to the highest state, works are of three kinds, black (evil actions), white (good actions), and mixed.