Hi Paul,
In theory the color space looks almost right but the black levels are still off - I suspect the Y scaling is still incorrect - currently black is still at (16,16,16) and white at (235,235,235).
which as a result also puts all the other colors out by a similar amount.
The colors across the top of the color bar on the reference image are actually mathematically related and represent 75% saturation of each color value.
blackpoint(255,255,255) - AppGameKit black showing (235,235,235)
greypoint (191,191,191) - AppGameKit greypoint showing (180,180,180)
yellow( 191,191,0) - AppGameKit yellow showing (180,180,13)
blue(0,0,191) - AppGameKit blue showing ( 16,16,183 ) etc etc
I can optically get it close by using LEVELS in photoshop - using 16 - 235 in the levels input section.
On everything I am reading the Y needs - 16 subtracted from "most" codecs - but it is a factor of the encoded format.
And just to mess things up even more - this conversation is ok for ( BT601 ) standard definition codecs - But REC 709 which is the high definition codec needs a slightly different matrix as well.
Westa