Over time you'll learn exactly how dark you like your caramelized onions. My favorite point to stop is when they're a gorgeous mahogany brown and just on the cusp of jammy. At this stage they're super sweet and savory and not at all burned.