Skip to content

Chocolate

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

Chocolate#D2691E

Chocolate color codes

  • CSS namechocolate
  • HEX#D2691E
  • RGBrgb(210, 105, 30)
  • HSLhsl(25, 75%, 47%)
  • OKLCHoklch(63.4% 0.155 50.3)
HSB and CMYK values
  • HSB / HSVhsb(25, 86%, 82%)
  • CMYKC0 M50 Y86 K18

White text

3.63:1 · passes WCAG AA for large text only

Black text

5.77:1 · passes WCAG AA

Shades of chocolate

A darker shade of chocolate is #9F4E15 (500), and a lighter one is #FF9C61 (200).

Colors that go with chocolate

Complementary

Analogous

Triadic

The complementary color of chocolate is #1E87D2, close to steel blue.

Click a color to copy its hex code.

Colors similar to chocolate

Each compared with chocolate.

About this color

Chocolate in CSS and design

Chocolate is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same chocolate:

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

What to know about chocolate

The word chocolate came into English from Spanish, which took it from Nahuatl. CSS chocolate (#D2691E) is much lighter and more orange than chocolate itself: a bright, warm brown. Saddle brown (#8B4513) has exactly the same hue, 25°, at a much lower lightness. As text on white, chocolate reaches 3.63:1, enough for large text only.

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) and in HSL hsl(25, 75%, 47%). In CMYK it is about C0 M50 Y86 K18, though printed colors vary with paper and ink.

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.

What is the complementary color of chocolate?

#1E87D2, close to steel blue. It sits opposite chocolate on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.

Which colors go with chocolate?

For strong contrast, pair it with its complementary color #1E87D2. For a calmer look, combine it with its analogous neighbors #D21E2D and #D2C31E. The palette generator builds more combinations.