Color Theory
June 08, 2026·8 min read

Understanding Chroma Subsampling in MozJPEG

A deep-dive into how YCbCr color channels and subsampling ratios (4:2:0 vs 4:4:4) affect compression.

MV

Marcus Vance

Contributing Author · Squoosh Next Blog

Chroma subsampling is a spatial compression technique that exploits the human visual system's lower sensitivity to color than to brightness. By reducing the resolution of chrominance channels compared to the luma channel, JPEG encoders achieve significant compression gains. In MozJPEG, selecting 4:2:0 subsampling halves chrominance resolution both horizontally and vertically, reducing encoded size by up to 50% with minimal perceived quality change.

For text-heavy images, screenshots, or designs with sharp color boundaries, 4:4:4 subsampling is strongly recommended to avoid color bleeding at edges. The 4:2:2 mode offers a balanced middle ground: horizontal chroma is halved while vertical resolution is preserved, making it ideal for portrait photography where vertical gradients matter most.

Key Takeaways
  • Chroma subsampling is a spatial compression technique that exploits the human visual system's lower sensitivity to color than to brightness.

  • By reducing the resolution of chrominance channels compared to the luma channel, JPEG encoders achieve significant compression gains.

  • In MozJPEG, selecting 4:2:0 subsampling halves chrominance resolution both horizontally and vertically, reducing encoded size by up to 50% with minimal perceived quality change.

  • For text-heavy images, screenshots, or designs with sharp color boundaries, 4:4:4 subsampling is strongly recommended to avoid color bleeding at edges.

Try It in the Workspace

Everything discussed in this article can be tested directly in Squoosh Next — no sign-up, no upload, 100% client-side.

More in Color Theory
Color Spaces 101: sRGB vs Display P3
February 24, 2026 · 6 min read
Palette Extraction with K-Means Clustering on Canvas
September 17, 2025 · 7 min read
Color Grading Presets: The Science of Cinematic Looks
July 03, 2024 · 8 min read
Squoosh Next

Professional client-side image compression and format optimization tool. Compress, convert, and adjust 100+ formats instantly without server uploads.


© 2026 Squoosh Next. Developed & Maintained by Naushad Alam | Zest Tech Solution | Powered by Vercel.Contact: Naushad Alam | WhatsApp: 7492068998 | Email: contact@zestcommerce.in | Web: zesttechsolution.cloud
Security EncryptedNo Uploads
Operational
v2.1.0Commit: d05d63e
0s
Build Info
Environment: productionBranch: masterBuild Time: 25s
Deployment
Deployed: 7/13/2026, 12:08:04 AMUptime: 0sPlatform: Vercel
Performance
Response: 0msStatus: OnlineSSL: Active
Technology
Next.js: 16.2.9React: 19.0.0TypeScript: 5.0