Dark Khaki — 11-step color scale
Dark Khaki (#bdb76b) sits at 500, untouched. Every other step is Dark Khaki 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 Dark Khaki in the generator
For text that needs to pass AA on white, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300, 400, 500, 600 do.
Semantic colors from Dark Khaki
Success, warning, error and the rest are derived from Dark Khaki 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 | 8.6 | 11.5 | 32.9 |
| warning | 8.8 | 3.7 | 16.6 |
| error | 27.7 | 17.8 | 16.8 |
| discovery | 45.2 | 45.6 | 30.7 |
| info | 35.6 | 39.2 | 34.5 |
| neutral | 15.5 | 15.1 | 9.6 |
The warning suggestion starts out colliding with Dark Khaki under Deuteranopia — ΔE₀₀ 3.7, below the 11 threshold — so the engine shifts its hue within the warning family until the pair pulls apart again.
Export Dark Khaki
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: #faf9f3;
--color-color-100: #efeedb;
--color-color-200: #e5e2c4;
--color-color-300: #dad7ac;
--color-color-400: #cac589;
--color-color-500: #bdb76b;
--color-color-600: #979256;
--color-color-700: #6a663c;
--color-color-800: #4c492b;
--color-color-900: #2d2c1a;
--color-color-950: #0f0f09;
}$color-color-50: #faf9f3;
$color-color-100: #efeedb;
$color-color-200: #e5e2c4;
$color-color-300: #dad7ac;
$color-color-400: #cac589;
$color-color-500: #bdb76b;
$color-color-600: #979256;
$color-color-700: #6a663c;
$color-color-800: #4c492b;
$color-color-900: #2d2c1a;
$color-color-950: #0f0f09;export const color = {
50: '#faf9f3',
100: '#efeedb',
200: '#e5e2c4',
300: '#dad7ac',
400: '#cac589',
500: '#bdb76b',
600: '#979256',
700: '#6a663c',
800: '#4c492b',
900: '#2d2c1a',
950: '#0f0f09',
};{
"color": {
"50": "#faf9f3",
"100": "#efeedb",
"200": "#e5e2c4",
"300": "#dad7ac",
"400": "#cac589",
"500": "#bdb76b",
"600": "#979256",
"700": "#6a663c",
"800": "#4c492b",
"900": "#2d2c1a",
"950": "#0f0f09"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9803921568627451,
0.9764705882352941,
0.9529411764705882
],
"alpha": 1,
"hex": "#FAF9F3"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9372549019607843,
0.9333333333333333,
0.8588235294117647
],
"alpha": 1,
"hex": "#EFEEDB"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8980392156862745,
0.8862745098039215,
0.7686274509803922
],
"alpha": 1,
"hex": "#E5E2C4"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8549019607843137,
0.8431372549019608,
0.6745098039215687
],
"alpha": 1,
"hex": "#DAD7AC"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.792156862745098,
0.7725490196078432,
0.5372549019607843
],
"alpha": 1,
"hex": "#CAC589"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.7411764705882353,
0.7176470588235294,
0.4196078431372549
],
"alpha": 1,
"hex": "#BDB76B"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.592156862745098,
0.5725490196078431,
0.33725490196078434
],
"alpha": 1,
"hex": "#979256"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.41568627450980394,
0.4,
0.23529411764705882
],
"alpha": 1,
"hex": "#6A663C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.2980392156862745,
0.28627450980392155,
0.16862745098039217
],
"alpha": 1,
"hex": "#4C492B"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.17647058823529413,
0.17254901960784313,
0.10196078431372549
],
"alpha": 1,
"hex": "#2D2C1A"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.058823529411764705,
0.058823529411764705,
0.03529411764705882
],
"alpha": 1,
"hex": "#0F0F09"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}