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.
| Format | Value | |
|---|---|---|
| HEX | #D2691E | |
| RGB | rgb(210, 105, 30) | |
| HSL | hsl(25, 75%, 47%) | |
| CMYK | 0%, 50%, 86%, 18% | |
| CSS name | chocolate |
.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.
Tints and shades of chocolate
Tints mix the color with white; shades mix it with black.
Chocolate
Contrast and readability
5.78:1
passes AA
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.