Image Optimize: How do I access specific colors?
Yep, using your above example, optimizedImages.colorPalette is an array, so you could do:

// Output the most dominant color
{{ optimizedImages.colorPalette[0] }}

// Output the second-most dominant color
{{ optimizedImages.colorPalette[1] }}