Skip to content

Chocolate color #D2691E

rgb(210, 105, 30) · oklch(63.4% 0.155 50.3)

Chocolate (#D2691E) is a medium, vivid, warm brown. It mixes 82% red, 41% green and 12% blue, with a perceived lightness of 63.4% in OKLCH. Black text reads best on it (5.77:1 vs 3.63:1). The closest other CSS color is Peru (#CD853F). For people with protanopia it shifts the most, toward #87780E.

Chocolate color codes

HEX
RGB
HSL
HSV / HSB
OKLCH
CMYK
CSS keyword

Click a value to copy it. Convert any other color with the color converter.

Shades, tints and tones of chocolate

Shades mix chocolate with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.

Tints (lighter)

Shades (darker)

Tones (muted)

Chocolate as a UI color scale (50–950)

An 11-step scale for design systems, with chocolate placed at step 500. Copy it as a Tailwind v4 theme below.

Colors that go with chocolate

Harmonies are computed on the OKLCH hue wheel, keeping chocolate’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.

Complementary

Edit

The base color and the hue directly opposite it. Maximum contrast; use one as the accent.

Analogous

Edit

Neighbors 30° either side on the hue wheel. Calm and cohesive, common in nature.

Triadic

Edit

Three hues spaced 120° apart. Vibrant but balanced; let one dominate.

Split complementary

Edit

The base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.

Tetradic (rectangle)

Edit

Two complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.

Monochromatic

Edit

One hue at different lightness levels. Safe, elegant, and easy to read.

Is chocolate accessible? Contrast with white and black

Chocolate text on white

3.63:1

AA fail AA large pass AAA fail

Chocolate text on black

5.77:1

AA pass AA large pass AAA fail

Check chocolate against any other color

How chocolate looks with color blindness

Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.

Protanopia: #87780e
Red-blind. Reds look dark and brownish; red and green are easily confused.
Deuteranopia: #a18f1b
Green-blind, the most common strong form. Red, green, orange and brown look similar.
Tritanopia: #e7515b
Blue-blind and rare. Blue and green are confused, as are yellow and pink.
Achromatopsia: #868686
Total color blindness, very rare. Only lightness differences are visible.

Colors similar to chocolate

The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).

ΔE 6.1 Peru
#cd853f
ΔE 7.6 Indian Red
#cd5c5c
ΔE 8.2 Dark Goldenrod
#b8860b
ΔE 9.2 Tomato
#ff6347

Use chocolate in CSS and Tailwind

CSS custom properties

:root {
  --chocolate: #d2691e;
  --chocolate-rgb: 210 105 30;
}

.text-chocolate { color: var(--chocolate); }
.bg-chocolate { background-color: var(--chocolate); }

Tailwind v4 theme

@theme {
  --color-chocolate-50: #f8f6f6;
  --color-chocolate-100: #f1ebe9;
  --color-chocolate-200: #ead6cb;
  --color-chocolate-300: #ebb394;
  --color-chocolate-400: #ed803b;
  --color-chocolate-500: #d2691e;
  --color-chocolate-600: #a95316;
  --color-chocolate-700: #84441a;
  --color-chocolate-800: #65381c;
  --color-chocolate-900: #4c2d1a;
  --color-chocolate-950: #2c1b11;
}

Make a gradient from chocolate: open the gradient generator.

Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.

More brown colors