Used NCC metric in grayscale mode for comparison. Some times the images rendered will have brightness issue i.e. due to the rendering h/w. So used NCC in grayscale mode which address this brightness issue gracefully. After experimenting observed a 90%+ accuracy level for NCC grayscale compariosn for match cases.
input img1 :

input img2:

Here img1 is the highlighted menu item compared against with the current image - ie. img2. Here NCC in RGB colormode returns : 73% match.
grayscale img1:

grayscale img2:

In NCC grayscale colorspace returns 91.6% accuracy. So the image comparison is passed. Actually it is not an expected behaviour for my scenario. I need to signal pass only if the text is 'Setup' and it is highlighted with yellow.
Is this a limitation in grayscale mode for color comparison ?
Is their any other ways in ImageMagick to better solve this issue.
Thanks in advance