Skip to content

Chocolate

Chocolate is a medium, rich color from the orange family. Hex code #D2691E.

Chocolate#D2691E

Color codes

  • CSS namechocolate
  • HEX#D2691E
  • RGBrgb(210 105 30)
  • HSLhsl(25 75% 47%)
  • HSB / HSVhsb(25, 86%, 82%)
  • OKLCHoklch(63.4% 0.155 50.3)
  • CMYKcmyk(0%, 50%, 86%, 18%)

White text

3.63:1 · passes WCAG AA for large text only

Black text

5.77:1 · passes WCAG AA

Shades

50#FEEEE6
100#FEC7A9
200#FF9C61
300#E67C36
400#C8600D
500#9F4E15
600#7E3800
700#582807
800#3A1600

Complementary

#D2691E
#0797C8

Analogous

#D2691E
#D85D62
#B28116

Triadic

#D2691E
#2BA080
#8B76E0

About this color

Chocolate in CSS and design

Chocolate is a medium, rich color from the orange family. Chocolate is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.

Use it in CSS by name or by any of its codes; these all give the same color:

color: chocolate;
color: #D2691E;
color: rgb(210 105 30);
color: hsl(25 75% 47%);

For text on chocolate, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.

Frequently asked questions

What is the hex code for chocolate?

#D2691E. In CSS you can also use the keyword chocolate, which works in every browser.

What is chocolate in RGB and HSL?

In RGB it is rgb(210 105 30), in HSL hsl(25 75% 47%). For print, cmyk(0%, 50%, 86%, 18%) is a starting point, but CMYK depends on paper and ink, so check with your printer.

Should I use black or white text on chocolate?

Black text works better: it has a contrast ratio of 5.77:1 and passes WCAG AA. White text reaches 3.63:1.

Which colors go with chocolate?

Its complementary color is #0797C8, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #D85D62 and #B28116. The palette generator builds more combinations.