Skip to content
Color Codes

CSS named color

Chocolate Color Code

Chocolate is a medium, vivid orange with the hex code #D2691E. In RGB it is rgb(210, 105, 30), in HSL hsl(25, 75%, 47%) and in CMYK cmyk(0%, 50%, 86%, 18%).

Chocolate
#D2691E

Color values

In CSS you can write it as the keyword chocolate.

White text on Chocolate has a contrast ratio of 3.63:1 and black text 5.78:1, so black text is the more readable choice.

The closest Tailwind CSS color is Amber 600 (#D97706).

Use Chocolate in CSS

.element {
  color: chocolate;
  background-color: #d2691e;
  border-color: rgb(210, 105, 30);
}

Tints and shades of Chocolate

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with Chocolate

Color-wheel harmonies built from #D2691E. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on Chocolate

Aa
White text
3.63:1
AA · Large text
Aa
Black text
5.78:1
AA
Check in the contrast checker

Colors similar to Chocolate

Palettes with similar colors

Questions about Chocolate

What is the hex code for Chocolate?

The hex code for Chocolate is #D2691E. Its RGB value is rgb(210, 105, 30) and its HSL value is hsl(25, 75%, 47%).

What colors go with Chocolate?

The complementary color of Chocolate is #1E87D2. For a softer scheme try the analogous colors #D21E2D and #D2C31E; for a balanced three-color scheme use the triadic colors #1ED269 and #691ED2.

Is Chocolate readable as a text color?

On a white background Chocolate has a contrast ratio of 3.63:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 5.78:1.

More brown colors