Named gradient · uiGradients
Army
Army is a green gradient from uiGradients (MIT) — #414d0b → #727a17 at 90°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.
Same stops, three spaces
The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.
Report
- white ink: worst 4.66:1 at 100% (AA); black ink: worst 2.29:1 at 0% (fails AA) → use white text.
- Banding high: ~29px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #414d0b 0%, #44500c 7.14%, #48530d 14.29%, #4b560d 21.43%, #4f590e 28.57%, #525d0f 35.71%, #556010 42.86%, #596311 50%, #5c6612 57.14%, #606a13 64.29%, #646d13 71.43%, #677014 78.57%, #6b7315 85.71%, #6e7716 92.86%, #727a17 100%);
background-image: linear-gradient(90deg in oklab, #414d0b 0%, #727a17 100%);
}bg-linear-to-r/oklab from-[#414d0b] to-[#727a17]
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#414d0b"/><stop offset="7.14%" stop-color="#44500c"/><stop offset="14.29%" stop-color="#48530d"/><stop offset="21.43%" stop-color="#4b560d"/><stop offset="28.57%" stop-color="#4f590e"/><stop offset="35.71%" stop-color="#525d0f"/><stop offset="42.86%" stop-color="#556010"/><stop offset="50%" stop-color="#596311"/><stop offset="57.14%" stop-color="#5c6612"/><stop offset="64.29%" stop-color="#606a13"/><stop offset="71.43%" stop-color="#646d13"/><stop offset="78.57%" stop-color="#677014"/><stop offset="85.71%" stop-color="#6b7315"/><stop offset="92.86%" stop-color="#6e7716"/><stop offset="100%" stop-color="#727a17"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"army": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.255,
0.302,
0.043
],
"hex": "#414d0b"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.447,
0.478,
0.09
],
"hex": "#727a17"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #414d0b 0%, #727a17 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Army",
"contrast": {
"white": {
"ratio": 4.655,
"at": 1,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 2.291,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Army (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More green gradients
Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›take the Army gradient (#414d0b, #727a17), re-interpolate it in oklch, and tell me the worst-case contrast for white text
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md · From uiGradients (MIT) — licences