You likely have a very strong case. California law is extremely protective of tenants when it comes to security deposits. Here's the framework:
California Civil Code § 1950.5 governs security deposits. Key provisions:
- Landlord must return the deposit (or an itemized statement of deductions with receipts) within 21 calendar days of move-out
- Deductions are only permitted for: unpaid rent, cleaning costs beyond what the tenant already cleaned, and repair of damages beyond normal wear and tear
- Normal wear and tear cannot be deducted — this is explicit in the statute
After four years of occupancy, carpet showing its age and paint needing refreshing are textbook normal wear and tear. The California Department of Consumer Affairs guidelines and case law (e.g., Granberry v. Islay Investments) make clear that carpet has an expected useful life, typically 8-10 years. After 4 years, the carpet is already halfway through its life — at most, the landlord could charge you for a prorated portion if there was actual damage beyond wear, not the full replacement cost.
As for the repaint: landlords are expected to repaint between tenants. That's a cost of doing business, not a tenant charge.
If the landlord retained your deposit in bad faith, § 1950.5(l) allows the court to award you up to twice the amount of the security deposit in addition to actual damages. That's potentially $6,400 on top of the $2,800 you're owed.
I'd start with a demand letter. We have a template specifically for this at /Demand-Letters/Landlord-Tenant/security-deposit-demand-letter.html.