If capacity refers to the ability to hold or contain something:
* Inability: The lack of ability to hold or contain something.
* Emptyness: The state of being devoid of contents.
* Limitation: A constraint or restriction on the amount that can be held or contained.
If capacity refers to the ability to do something:
* Incompetence: The lack of ability or skill to do something.
* Inefficiency: The lack of effectiveness or productivity.
* Weakness: A lack of strength or power.
If capacity refers to the maximum amount or number of something:
* Minimum: The smallest amount or number.
* Limit: A boundary or restriction on the maximum amount or number.
* Shortage: A lack of something, indicating insufficient capacity.
It's important to consider the specific context to determine the most appropriate opposite.