Yellow Green — 11-step color scale
Yellow Green (#9acd32) sits at 500, untouched. Every other step is Yellow Green 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 Yellow Green 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 Yellow Green
Success, warning, error and the rest are derived from Yellow Green 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 | 15.5 | 18.0 | 14.8 |
| warning | 23.9 | 11.9 | 47.7 |
| error | 53.6 | 42.5 | 47.5 |
| discovery | 58.0 | 55.4 | 23.9 |
| info | 54.1 | 56.0 | 17.0 |
| neutral | 26.6 | 24.3 | 20.1 |
The warning suggestion is the closest call: it clears the threshold under Deuteranopia, but only reaches ΔE₀₀ 11.9, so it sits just above the 11 line rather than comfortably past it.
Export Yellow Green
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: #f7fbef;
--color-color-100: #e7f3ce;
--color-color-200: #d7ebad;
--color-color-300: #c6e38c;
--color-color-400: #aed75b;
--color-color-500: #9acd32;
--color-color-600: #7ba428;
--color-color-700: #56731c;
--color-color-800: #3e5214;
--color-color-900: #25310c;
--color-color-950: #0c1004;
}$color-color-50: #f7fbef;
$color-color-100: #e7f3ce;
$color-color-200: #d7ebad;
$color-color-300: #c6e38c;
$color-color-400: #aed75b;
$color-color-500: #9acd32;
$color-color-600: #7ba428;
$color-color-700: #56731c;
$color-color-800: #3e5214;
$color-color-900: #25310c;
$color-color-950: #0c1004;export const color = {
50: '#f7fbef',
100: '#e7f3ce',
200: '#d7ebad',
300: '#c6e38c',
400: '#aed75b',
500: '#9acd32',
600: '#7ba428',
700: '#56731c',
800: '#3e5214',
900: '#25310c',
950: '#0c1004',
};{
"color": {
"50": "#f7fbef",
"100": "#e7f3ce",
"200": "#d7ebad",
"300": "#c6e38c",
"400": "#aed75b",
"500": "#9acd32",
"600": "#7ba428",
"700": "#56731c",
"800": "#3e5214",
"900": "#25310c",
"950": "#0c1004"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9686274509803922,
0.984313725490196,
0.9372549019607843
],
"alpha": 1,
"hex": "#F7FBEF"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9058823529411765,
0.9529411764705882,
0.807843137254902
],
"alpha": 1,
"hex": "#E7F3CE"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8431372549019608,
0.9215686274509803,
0.6784313725490196
],
"alpha": 1,
"hex": "#D7EBAD"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.7764705882352941,
0.8901960784313725,
0.5490196078431373
],
"alpha": 1,
"hex": "#C6E38C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6823529411764706,
0.8431372549019608,
0.3568627450980392
],
"alpha": 1,
"hex": "#AED75B"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6039215686274509,
0.803921568627451,
0.19607843137254902
],
"alpha": 1,
"hex": "#9ACD32"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4823529411764706,
0.6431372549019608,
0.1568627450980392
],
"alpha": 1,
"hex": "#7BA428"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.33725490196078434,
0.45098039215686275,
0.10980392156862745
],
"alpha": 1,
"hex": "#56731C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.24313725490196078,
0.3215686274509804,
0.0784313725490196
],
"alpha": 1,
"hex": "#3E5214"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.1450980392156863,
0.19215686274509805,
0.047058823529411764
],
"alpha": 1,
"hex": "#25310C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.047058823529411764,
0.06274509803921569,
0.01568627450980392
],
"alpha": 1,
"hex": "#0C1004"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}