Liberalism is a political and moral philosophy based on liberty, consent of the governed, and equality before the law. Liberals espouse a wide array of views depending on their understanding of these principles, but they generally support limited government, individual rights (including civil rights and human rights), capitalism (free markets), democracy, secularism, gender equality, racial equality, internationalism, freedom of speech, freedom of the press, and freedom of religion. Yellow is the political colour most commonly associated with liberalism.
Liberalism became a distinct movement in the Age of Enlightenment, when it became popular among Western philosophers and economists. Liberalism sought to replace the norms of hereditary privilege, state religion, absolute monarchy, the divine right of kings and traditional conservatism with representative democracy and the rule of law. Liberals also ended mercantilist policies, royal monopolies and other barriers to trade, instead promoting free markets. Philosopher John Locke is often credited with founding liberalism as a distinct tradition, based on the social contract, arguing that each man has a natural right to life, liberty and property and governments must not violate these rights. While the British liberal tradition has emphasized expanding democracy, French liberalism has emphasized rejecting authoritarianism and is linked to nation-building.