“Affirmative consent,” the law says, “means affirmative, conscious, and voluntary agreement to engage in sexual activity. It is the responsibility of each person involved in the sexual activity to ensure that he or she has the affirmative consent of the other or others to engage in the sexual activity. Lack of protest or resistance does not mean consent, nor does silence mean consent. Affirmative consent must be ongoing throughout a sexual activity and can be revoked at any time. The existence of a dating relationship between the persons involved, or the fact of past sexual relations between them, should never by itself be assumed to be an indicator of consent.” You can read the whole law here.
How California’s ‘yes means yes’ consent law can be sexy – The Washington Post
(And yes, it shouldn’t have to be made sexy. But at least it’s there.)