The yellow bar represents a barrier. Whilst an enemy has an active barrier they can not be staggered by attacks so be careful.