合法

ごうほう legal; lawful

Why it means this

合 (in accord with) + 法 (the law) — permitted by law (contrast 違法).

Breakdown

Each character links to its full entry — origin story, stroke order, and readings.