Chocolate color: hex #d2691e, RGB and HSL
Chocolate is the CSS keyword chocolate, hex #d2691e, rgb(210, 105, 30), hsl(25, 75%, 47%). It is a medium, vivid orange in the browns family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.
- CSS name
- chocolate
- Hex
- #d2691e
- RGB
- rgb(210, 105, 30)
- HSL
- hsl(25, 75%, 47%)
- On white
- 3.63:1 — large text and UI only (3:1)
- On black
- 5.78:1 — passes AA for body text
.example {
color: chocolate; /* keyword */
color: #d2691e; /* hex */
color: rgb(210, 105, 30); /* rgb */
color: hsl(25, 75%, 47%); /* hsl */
}What colors go with chocolate
Each match keeps chocolate's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside chocolate as the primary; the harmony guides explain which rule suits which interface.
Complementary
The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.
Split-complementary
The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.
Triadic
Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.
Analogous
The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.
Tints and shades of chocolate
Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as chocolate — these are the hover, pressed, disabled and surface variants a single brand color needs.
Tints (lighter)
Shades (darker)
A UI color palette built from chocolate
The eight semantic roles an interface actually uses, derived from chocolate as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.
- primary
- #d2691e
- secondary
- #1ed2c3
- accent
- #1e2dd2
- background
- #fdfcfc
- surface
- #f7f4f3
- text
- #221811
- muted
- #8f6e56
- border
- #ece4df
- primary
- #e27e36
- secondary
- #36e2d4
- accent
- #3645e2
- background
- #1b130e
- surface
- #281d15
- text
- #f6f5f3
- muted
- #b8a394
- border
- #493527
Using chocolate in an interface
Browns are muted oranges, and they behave like neutrals with warmth: the light ones make paper-like page backgrounds, the mid tones make borders and muted text, and the dark ones can carry body text. Brands that want to feel crafted or organic lean on this family. Whichever role chocolate takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.
- What is the hex code for Chocolate?
- Chocolate is #d2691e. In CSS the keyword chocolate, the hex #d2691e, rgb(210, 105, 30) and hsl(25, 75%, 47%) all paint the same color.
- What colors go with Chocolate?
- Its complement is #1e87d2, the split-complementary pair is #1ed2c3 and #1e2dd2, the triadic partners are #1ed269 and #691ed2, and the analogous neighbors are #d21e2d and #d2c31e. In an interface, use Chocolate for most colored elements and one of these for a single accent, at roughly an 80/20 split.
- What is the opposite of Chocolate on the color wheel?
- The opposite (complementary) color is #1e87d2, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
- Can I use Chocolate for text?
- Chocolate as text on white has a contrast ratio of 3.63:1, which fails WCAG AA for body text (4.5:1) but passes for large text and UI components (3:1). On black it is 5.78:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.