Named gradient · WebGradients
Sand Strike
Sand Strike is a yellow gradient from WebGradients (MIT) — #c1c161 → #d4d4b1 at 0°. 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 1.52:1 at 100% (fails AA); black ink: worst 11.07:1 at 0% (AA) → use black text.
- Banding high: ~18px bands at 1440px — add grain 36 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(0deg, #c1c161 0%, #c2c268 7.14%, #c4c46e 14.29%, #c5c574 21.43%, #c6c77a 28.57%, #c8c880 35.71%, #c9c986 42.86%, #cacb8b 50%, #cccc91 57.14%, #cdcd96 64.29%, #cecf9c 71.43%, #d0d0a1 78.57%, #d1d1a6 85.71%, #d3d3ac 92.86%, #d4d4b1 100%);
background-image: linear-gradient(0deg in oklab, #c1c161 0%, #d4d4b1 100%);
}bg-linear-to-t/oklab from-[#c1c161] to-[#d4d4b1]
<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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#c1c161"/><stop offset="7.14%" stop-color="#c2c268"/><stop offset="14.29%" stop-color="#c4c46e"/><stop offset="21.43%" stop-color="#c5c574"/><stop offset="28.57%" stop-color="#c6c77a"/><stop offset="35.71%" stop-color="#c8c880"/><stop offset="42.86%" stop-color="#c9c986"/><stop offset="50%" stop-color="#cacb8b"/><stop offset="57.14%" stop-color="#cccc91"/><stop offset="64.29%" stop-color="#cdcd96"/><stop offset="71.43%" stop-color="#cecf9c"/><stop offset="78.57%" stop-color="#d0d0a1"/><stop offset="85.71%" stop-color="#d1d1a6"/><stop offset="92.86%" stop-color="#d3d3ac"/><stop offset="100%" stop-color="#d4d4b1"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"sand-strike": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.757,
0.757,
0.38
],
"hex": "#c1c161"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.831,
0.831,
0.694
],
"hex": "#d4d4b1"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(0deg in oklab, #c1c161 0%, #d4d4b1 100%)",
"interpolation": "oklab",
"angle": 0,
"name": "Sand Strike",
"contrast": {
"white": {
"ratio": 1.516,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 11.068,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Sand Strike (WebGradients, MIT), rendered in OKLab."
}
}Tagged
More yellow 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 Sand Strike gradient (#c1c161, #d4d4b1), 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 WebGradients (MIT) — licences