The old name for the web's chocolate
Cocoa brown has the same code as the CSS color keyword chocolate, #D2691E. That keyword came to the web from the X11 color list. This site also lists the code as chocolate (web) and as cinnamon.
Closer to a cocoa pod
The color does not look much like a chocolate bar. The Wikipedia article on the color chocolate says it is closer to the outside of an unripe cocoa pod. The same article gives cocoa brown as the older name for this shade. Maerz and Paul's A Dictionary of Color of 1930 dates cocoa brown as a color name to 1925.
For the brown of real chocolate, try chocolate, #7B3F00. Black text reads better on cocoa brown than white text does, with a contrast of 5.78 to 1 against 3.63 to 1.

