How to override some of the H3's (header's) font color wen using Jquery.accordion

How to override some of the H3's (header's) font color wen using Jquery.accordion

Hello,
Does anyone know how I can change some (not all) H3's font color's or background colors when using the Jquery Accordion?  Currently I am able to change all the H3's background color by using the following CSS:
 /*styling the header*/
        #accordion .ui-accordion-header
        {
            background-color: #ccc;
            margin: 0px;
            padding: 0px;
            font-size: 10pt;
            line-height: 8pt;
            height: 20px;
        } 

However, I am in a situation where the user wants to change the H3's font color if that  H3 is in "Warning" status.

Any help is greatly suggested!