What format, codec, and color settings should be used for youtube?
That sure looks like a broken encode. If using FFMPEG, you need to set the range to broadcast and the encoding weights to 709.

If you hunt through the other tidbits here, I explain how broken ranges or double ups will give you exactly what you are seeing.