Chocolate — 11-step color scale
Chocolate (#d2691e) sits at 500, untouched. Every other step is Chocolate composited over white or black at a decreasing opacity, so the whole ramp stays in one hue family instead of drifting toward another color at the ends.
Open Chocolate in the generator
For text that needs to pass AA on white, 600, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300, 400, 500 do.
Semantic colors from Chocolate
Success, warning, error and the rest are derived from Chocolate itself, then checked so they stay distinguishable from the base — and from each other — under the three types of color blindness. The distance below is CIEDE2000 after each simulation.
| Suggested | Protanopia | Deuteranopia | Tritanopia |
|---|---|---|---|
| success | 12.8 | 12.3 | 62.1 |
| warning | 18.9 | 14.0 | 8.7 |
| error | 44.6 | 37.7 | 9.0 |
| discovery | 55.5 | 57.4 | 60.1 |
| info | 45.9 | 49.7 | 57.9 |
| neutral | 19.7 | 21.7 | 21.6 |
The warning suggestion starts out colliding with Chocolate under Tritanopia — ΔE₀₀ 8.7, below the 11 threshold — so the engine shifts its hue within the warning family until the pair pulls apart again.
Export Chocolate
The same five formats the generator produces, for this scale. Copy any block, or open the tool to tweak the ramp first.
:root {
--color-color-50: #fbf3ed;
--color-color-100: #f4dbc9;
--color-color-200: #edc3a5;
--color-color-300: #e6ab81;
--color-color-400: #db874b;
--color-color-500: #d2691e;
--color-color-600: #a85418;
--color-color-700: #763b11;
--color-color-800: #542a0c;
--color-color-900: #321907;
--color-color-950: #110802;
}$color-color-50: #fbf3ed;
$color-color-100: #f4dbc9;
$color-color-200: #edc3a5;
$color-color-300: #e6ab81;
$color-color-400: #db874b;
$color-color-500: #d2691e;
$color-color-600: #a85418;
$color-color-700: #763b11;
$color-color-800: #542a0c;
$color-color-900: #321907;
$color-color-950: #110802;export const color = {
50: '#fbf3ed',
100: '#f4dbc9',
200: '#edc3a5',
300: '#e6ab81',
400: '#db874b',
500: '#d2691e',
600: '#a85418',
700: '#763b11',
800: '#542a0c',
900: '#321907',
950: '#110802',
};{
"color": {
"50": "#fbf3ed",
"100": "#f4dbc9",
"200": "#edc3a5",
"300": "#e6ab81",
"400": "#db874b",
"500": "#d2691e",
"600": "#a85418",
"700": "#763b11",
"800": "#542a0c",
"900": "#321907",
"950": "#110802"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.984313725490196,
0.9529411764705882,
0.9294117647058824
],
"alpha": 1,
"hex": "#FBF3ED"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9568627450980393,
0.8588235294117647,
0.788235294117647
],
"alpha": 1,
"hex": "#F4DBC9"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9294117647058824,
0.7647058823529411,
0.6470588235294118
],
"alpha": 1,
"hex": "#EDC3A5"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9019607843137255,
0.6705882352941176,
0.5058823529411764
],
"alpha": 1,
"hex": "#E6AB81"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8588235294117647,
0.5294117647058824,
0.29411764705882354
],
"alpha": 1,
"hex": "#DB874B"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8235294117647058,
0.4117647058823529,
0.11764705882352941
],
"alpha": 1,
"hex": "#D2691E"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6588235294117647,
0.32941176470588235,
0.09411764705882353
],
"alpha": 1,
"hex": "#A85418"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4627450980392157,
0.23137254901960785,
0.06666666666666667
],
"alpha": 1,
"hex": "#763B11"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.32941176470588235,
0.16470588235294117,
0.047058823529411764
],
"alpha": 1,
"hex": "#542A0C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.19607843137254902,
0.09803921568627451,
0.027450980392156862
],
"alpha": 1,
"hex": "#321907"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.06666666666666667,
0.03137254901960784,
0.00784313725490196
],
"alpha": 1,
"hex": "#110802"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}