Named gradient · uiGradients
Christmas
Christmas is a green gradient from uiGradients (MIT) — #2f7336 → #aa3a38 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 5.76:1 at 1% (AA); black ink: worst 3.37:1 at 97% (AA-large only) → use white text.
- Banding high: ~12px bands at 1440px — add grain 25 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #2f7336 0%, #407036 7.14%, #4d6e36 14.29%, #586b36 21.43%, #626837 28.57%, #6b6537 35.71%, #736237 42.86%, #7b5e37 50%, #835a37 57.14%, #8a5637 64.29%, #915237 71.43%, #974d38 78.57%, #9e4738 85.71%, #a44138 92.86%, #aa3a38 100%);
background-image: linear-gradient(90deg in oklab, #2f7336 0%, #aa3a38 100%);
}bg-linear-to-r/oklab from-[#2f7336] to-[#aa3a38]
<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="#2f7336"/><stop offset="7.14%" stop-color="#407036"/><stop offset="14.29%" stop-color="#4d6e36"/><stop offset="21.43%" stop-color="#586b36"/><stop offset="28.57%" stop-color="#626837"/><stop offset="35.71%" stop-color="#6b6537"/><stop offset="42.86%" stop-color="#736237"/><stop offset="50%" stop-color="#7b5e37"/><stop offset="57.14%" stop-color="#835a37"/><stop offset="64.29%" stop-color="#8a5637"/><stop offset="71.43%" stop-color="#915237"/><stop offset="78.57%" stop-color="#974d38"/><stop offset="85.71%" stop-color="#9e4738"/><stop offset="92.86%" stop-color="#a44138"/><stop offset="100%" stop-color="#aa3a38"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"christmas": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.184,
0.451,
0.212
],
"hex": "#2f7336"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.667,
0.227,
0.22
],
"hex": "#aa3a38"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #2f7336 0%, #aa3a38 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Christmas",
"contrast": {
"white": {
"ratio": 5.759,
"at": 0.0145,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 3.368,
"at": 0.9683,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Christmas (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 Christmas gradient (#2f7336, #aa3a38), 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