Puede usar la siguiente expresión regular pero no funcionará
checkForHexRegExp = /^(?=[a-f\d]{24}$)(\d+[a-f]|[a-f]+\d)/i
Ejemplo:
> checkForHexRegExp.test("112345679065574883030833")
false
> checkForHexRegExp.test("FFFFFFFFFFFFFFFFFFFFFFFF")
false
> checkForHexRegExp.test("45cbc4a0e4123f6920000002")
true
Pero, como comenté, 112345679065574883030833
, FFFFFFFFFFFFFFFFFFFFFFFF
también son representaciones hexadecimales válidas.
Deberías usar /^[a-f\d]{24}$/i
porque pasa todas las pruebas anteriores