Named gradient · uiGradients

Lush

Lush is a green gradient from uiGradients (MIT) — #56ab2f → #a8e063 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.

Aa — the quick brown fox
black text · worst 7.26:1 · AA
white 1.55 failsblack 7.26 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.

sRGB97%
OKLab97%
OKLCH97%

Report

  • white ink: worst 1.55:1 at 100% (fails AA); black ink: worst 7.26: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

css
.gradient {
  background-image: linear-gradient(90deg, #56ab2f 0%, #5caf33 7.14%, #62b237 14.29%, #68b63b 21.43%, #6eba3e 28.57%, #74be42 35.71%, #7ac246 42.86%, #80c54a 50%, #86c94d 57.14%, #8bcd51 64.29%, #91d155 71.43%, #97d558 78.57%, #9dd85c 85.71%, #a2dc5f 92.86%, #a8e063 100%);
  background-image: linear-gradient(90deg in oklab, #56ab2f 0%, #a8e063 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#56ab2f] to-[#a8e063]
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="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#56ab2f"/><stop offset="7.14%" stop-color="#5caf33"/><stop offset="14.29%" stop-color="#62b237"/><stop offset="21.43%" stop-color="#68b63b"/><stop offset="28.57%" stop-color="#6eba3e"/><stop offset="35.71%" stop-color="#74be42"/><stop offset="42.86%" stop-color="#7ac246"/><stop offset="50%" stop-color="#80c54a"/><stop offset="57.14%" stop-color="#86c94d"/><stop offset="64.29%" stop-color="#8bcd51"/><stop offset="71.43%" stop-color="#91d155"/><stop offset="78.57%" stop-color="#97d558"/><stop offset="85.71%" stop-color="#9dd85c"/><stop offset="92.86%" stop-color="#a2dc5f"/><stop offset="100%" stop-color="#a8e063"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "lush": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.337,
            0.671,
            0.184
          ],
          "hex": "#56ab2f"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.659,
            0.878,
            0.388
          ],
          "hex": "#a8e063"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #56ab2f 0%, #a8e063 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Lush",
        "contrast": {
          "white": {
            "ratio": 1.555,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.262,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Lush (uiGradients, 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 Lush gradient (#56ab2f, #a8e063), 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