Named gradient · WebGradients

Lemon Gate

Lemon Gate is a green gradient from WebGradients (MIT) — #96fbc4 → #f9f586 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.

Aa — the quick brown fox
black text · worst 16.89:1 · AA
white 1.14 failsblack 16.89 AAbanding high

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.

sRGB92%
OKLab88%
OKLCH96%

Report

  • white ink: worst 1.14:1 at 100% (fails AA); black ink: worst 16.89:1 at 0% (AA) → use black text.
  • Banding high: ~15px bands at 1440px — add grain 30 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #96fbc4 0%, #9ffbc0 7.14%, #a7fbbc 14.29%, #affab8 21.43%, #b7fab4 28.57%, #befab0 35.71%, #c5f9ac 42.86%, #ccf9a8 50%, #d3f8a3 57.14%, #daf89f 64.29%, #e0f79a 71.43%, #e7f795 78.57%, #edf690 85.71%, #f3f68b 92.86%, #f9f586 100%);
  background-image: linear-gradient(0deg in oklab, #96fbc4 0%, #f9f586 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#96fbc4] to-[#f9f586]
svg
<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="#96fbc4"/><stop offset="7.14%" stop-color="#9ffbc0"/><stop offset="14.29%" stop-color="#a7fbbc"/><stop offset="21.43%" stop-color="#affab8"/><stop offset="28.57%" stop-color="#b7fab4"/><stop offset="35.71%" stop-color="#befab0"/><stop offset="42.86%" stop-color="#c5f9ac"/><stop offset="50%" stop-color="#ccf9a8"/><stop offset="57.14%" stop-color="#d3f8a3"/><stop offset="64.29%" stop-color="#daf89f"/><stop offset="71.43%" stop-color="#e0f79a"/><stop offset="78.57%" stop-color="#e7f795"/><stop offset="85.71%" stop-color="#edf690"/><stop offset="92.86%" stop-color="#f3f68b"/><stop offset="100%" stop-color="#f9f586"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "lemon-gate": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.588,
            0.984,
            0.769
          ],
          "hex": "#96fbc4"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.976,
            0.961,
            0.525
          ],
          "hex": "#f9f586"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #96fbc4 0%, #f9f586 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Lemon Gate",
        "contrast": {
          "white": {
            "ratio": 1.139,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 16.893,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Lemon Gate (WebGradients, MIT), rendered in OKLab."
  }
}

Tagged

More green gradients

mcpConnect your agent to the gradient engine
live endpoint

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.

endpointhttps://mcp.brandsweets.com/gradients/mcp
claude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
try this prompt

take the Lemon Gate gradient (#96fbc4, #f9f586), 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