JPEG or PNG with color profile embedded may not showed up the same in some browsers/OS.
|with profile||no profile|
|HTML color code||9C7D3A||9C7D3A|
Don't embed color profile when you save as or save to web in Photoshop.
* The color may shift when you save PSD to JPG, e.g. 9C7D38 would become 9C7D3A.
* you can check whether the image has profile in finder also.