Chocolate Color

HEX #D2691E · rgb(210, 105, 30) · hsl(25, 75%, 47%)

Chocolate color codes

Chocolate is one of the named colors every browser understands. In CSS you can write it as chocolate or #D2691E.

FormatValue
HEX#D2691E
RGBrgb(210, 105, 30)
HSLhsl(25, 75%, 47%)
CMYK0%, 50%, 86%, 18%
CSS namechocolate
.example {
  color: chocolate;
  background-color: #D2691E;
  border-color: rgb(210, 105, 30);
}

Colors that go with chocolate

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#1E87D2Complementary
#D21E2DAnalogous
#D2C31EAnalogous
#1ED269Triadic
#691ED2Triadic

Tints and shades of chocolate

Tints mix the color with white; shades mix it with black.

#FBF0E990% white
#F4DAC775% white
#EDC3A560% white
#E6AD8345% white
#E0966230% white
#D9804015% white
#D2691EBase
Chocolate
#B3591A15% black
#934A1530% black
#743A1145% black
#542A0C60% black
#351A0875% black
#150B0390% black

Contrast and readability

Black text
5.78:1
passes AA
White text
3.63:1
large text only

Use black text on chocolate. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for chocolate?

The hex code for chocolate is #D2691E.

What is the RGB value of chocolate?

Chocolate is rgb(210, 105, 30): 210 red, 105 green and 30 blue on a 0 to 255 scale.

What color goes with chocolate?

Its complementary color is #1E87D2, which is closest to the named color dodger blue. Analogous and triadic matches are listed on this page.

Should text on chocolate be black or white?

Use black text. The contrast ratio is 5.78:1 with black and 3.63:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.