Toolman

chocolate — #D2691E

#D2691E

rgb(210, 105, 30) · hsl(25, 75%, 47%) · CSS keyword chocolate

Can you put text on it?

ContrastBody textLarge text
chocolate on white3.63:1AA
chocolate on black5.78:1AAAA

As a background, chocolate takes black text: 5.78:1 against 3.63:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.

Using it

color: chocolate;
color: #d2691e;
color: rgb(210 105 30);

All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.

Colours close to chocolate

Frequently asked questions

What is the hex code for chocolate?

The hex code for chocolate is #D2691E — RGB 210, 105, 30.

Can I use chocolate for text?

Only for large text. chocolate reaches 3.63:1 against white — enough for the 3:1 of headings at 24px or 18.5px bold, short of the 4.5:1 body text needs.

Should text on chocolate be black or white?

Black — 5.78:1 against 3.63:1 the other way.

Other named colours

#D2691E in full — tints, shades and harmonies · All named colours · Colour reference