Named gradient · uiGradients

Little Leaf

Little Leaf is a green gradient from uiGradients (MIT) — #76b852 → #8dc26f 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 8.75:1 · AA
white 2.08 failsblack 8.75 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.

sRGB91%
OKLab91%
OKLCH91%

Report

  • white ink: worst 2.08:1 at 98% (fails AA); black ink: worst 8.75:1 at 0% (AA) → use black text.
  • Banding high: ~50px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #76b852 0%, #78b954 7.14%, #79b956 14.29%, #7bba59 21.43%, #7dbb5b 28.57%, #7ebc5d 35.71%, #80bc5f 42.86%, #82bd61 50%, #83be63 57.14%, #85be65 64.29%, #87bf67 71.43%, #88c069 78.57%, #8ac16b 85.71%, #8bc16d 92.86%, #8dc26f 100%);
  background-image: linear-gradient(90deg in oklab, #76b852 0%, #8dc26f 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#76b852] to-[#8dc26f]
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="#76b852"/><stop offset="7.14%" stop-color="#78b954"/><stop offset="14.29%" stop-color="#79b956"/><stop offset="21.43%" stop-color="#7bba59"/><stop offset="28.57%" stop-color="#7dbb5b"/><stop offset="35.71%" stop-color="#7ebc5d"/><stop offset="42.86%" stop-color="#80bc5f"/><stop offset="50%" stop-color="#82bd61"/><stop offset="57.14%" stop-color="#83be63"/><stop offset="64.29%" stop-color="#85be65"/><stop offset="71.43%" stop-color="#87bf67"/><stop offset="78.57%" stop-color="#88c069"/><stop offset="85.71%" stop-color="#8ac16b"/><stop offset="92.86%" stop-color="#8bc16d"/><stop offset="100%" stop-color="#8dc26f"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "little-leaf": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.463,
            0.722,
            0.322
          ],
          "hex": "#76b852"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.553,
            0.761,
            0.435
          ],
          "hex": "#8dc26f"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #76b852 0%, #8dc26f 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Little Leaf",
        "contrast": {
          "white": {
            "ratio": 2.084,
            "at": 0.9841,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 8.748,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Little Leaf (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 Little Leaf gradient (#76b852, #8dc26f), 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