Chocolate Color Codes
Chocolate is a mid-tone, saturated orange with the hex code #D2691E, RGB values of 210, 105, 30 and an HSL value of hsl(25, 75%, 47%).
| HEX | #D2691E |
|---|---|
| RGB | 210, 105, 30 |
| HSL | hsl(25, 75%, 47%) |
| HSV | 25°, 86%, 82% |
| CMYK | 0%, 50%, 86%, 18% |
| LAB | 55.99, 37.05, 56.74 |
| CIELCHuv | 55.99, 98.62, 28.96° |
- Nearest Pantone
- PMS 159 C ΔE 4.9 · approximate
- Nearest CSS name
-
chocolateΔE 0.0
Source CSS Color Module Level 4 keyword 'Chocolate'
Chocolate Color Hex Code
The Chocolate color hex code is #D2691E. Those six digits are three pairs, D2 for red, 69 for green and 1E for blue, which is the same triplet a browser reads from the CSS value below.
#D2691E
Chocolate Color RGB Code
The Chocolate RGB code is rgb(210, 105, 30). Red carries the most light at 210 of 255, which is what puts this color where it sits on the wheel.
rgb(210, 105, 30)
Chocolate Color HSV Code
The Chocolate HSV code is 25°, 86%, 82%. Read it as a hue of 25 degrees, 86% saturation and 82% value, which is the form most color pickers use because moving one number changes one thing.
25°, 86%, 82%
Chocolate Color CIELChuv Code
The Chocolate CIELCHuv code is 55.99, 98.62, 28.96°. Unlike hex or RGB this one is perceptual: lightness 56 means mid-toned to the eye rather than to the screen, and chroma 99 is how far it sits from grey.
55.99, 98.62, 28.96°
Tonal scale
What are Chocolate Color Palettes?
A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.
Shades, toward black
Tints, toward white
Tones, toward grey
Palettes
What are Chocolate Color Palette Codes?
Each of these is a hue rotation from #D2691E. They are generated, not curated, so they are exact.
Complementary
Directly opposite sits #1E87D2, a mid-tone, saturated azure blue. No other pairing separates two hues further, so this is the one to reach for when a single element has to win attention. Both are saturated, so give the complement much less area than the base or the two will fight.
Analogous
#D21E2D and #D2C31E sit 30 degrees either side. All three share most of their hue, so the set reads as one family instead of three separate decisions. Good for backgrounds and for state variations that should not announce themselves.
Triadic
#1ED269 and #691ED2 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.
Split-complementary
Instead of the direct complement, this takes the two hues either side of it: #1ED2C3 and #1E2DD2. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.
Tetradic
Two complementary pairs forming a rectangle: this base with #1E87D2, and #2DD21E with #C31ED2. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.
Accessibility
Contrast checker: is Chocolate accessible?
Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.
White background
3.63:13.63
contrast ratio on white background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Fails | Fails |
| Large text needs 3:1 / 4.5:1 | Passes | Fails |
| UI component needs 3:1 | Passes | n/a |
Black background
5.78:15.78
contrast ratio on black background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Passes | Fails |
| Large text needs 3:1 / 4.5:1 | Passes | Passes |
| UI component needs 3:1 | Passes | n/a |
Against white Chocolate reaches 3.63:1, enough for large text and UI borders, but short of the 4.5:1 that body copy needs. Darken it for anything set small. Text placed on it should be black, which gives 5.78:1.
Color vision
How Chocolate looks with color blindness
Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.
Protanopia
About 1% of men#AFAE3B
Chocolate changes substantially here. ΔE 52.7
No working red cones. Reds darken sharply and drift toward the same muddy olive as green.
Deuteranopia
About 1% of men#B4BA40
Chocolate changes substantially here. ΔE 57.3
No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.
Tritanopia
About 1 in 10,000#CE4A4D
Chocolate changes substantially here. ΔE 34.2
No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.
Achromatopsia
About 1 in 30,000#868686
Chocolate changes substantially here. ΔE 67.8
No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.
To a deuteranope, the most common form, Chocolate reads as #B4BA40. That is a shift of ΔE 57.3, so it is a different color to roughly one man in sixteen. It sits in the red end of the spectrum, which is exactly where red-green deficiency does its damage. Never pair it with a green of similar lightness to signal a difference in meaning: to a large minority the two become one color. The widest shift is under deuteranopia, at ΔE 57.3. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.
Snippets
Using Chocolate in code
:root {
--chocolate: #D2691E;
}
.example {
color: var(--chocolate);
}
// tailwind.config.js
theme: {
extend: {
colors: {
'chocolate': '#D2691E',
},
},
}
// SwiftUI takes 0–1 components, not 0–255.
let chocolate = Color(
red: 0.824,
green: 0.412,
blue: 0.118
)
<!-- res/values/colors.xml -->
<color name="chocolate">#D2691E</color>
// Flutter wants ARGB: FF for full opacity, then the hex.
const chocolate = Color(0xFFD2691E);