HRS §1-5
Contracts that break the law
This section says private agreements cannot override laws that protect public order or good morals. However, people may give up rights the law gives them, as long as it doesn't hurt others or the public good. It is a general rule about legal agreements.
everyone
The statute, as written — Contracts in contravention of law
Private agreements shall have no effect to contravene any law which concerns public order or good morals. But individuals may, in all cases in which it is not expressly or impliedly prohibited, renounce what the law has established in their favor, when such renunciation does not affect the rights of others, and is not contrary to the public good. [CC 1859, §7; RL 1925, §7; RL 1935, §7; RL 1945, §6; RL 1955, §1-8; HRS §1-5]
LawTrove is not legal advice. The summary above is a computer-generated restatement — the authoritative text is the official version linked above.