Named gradient · WebGradients

Dusty Grass

Dusty Grass is a green gradient from WebGradients (MIT) — #d4fc79 → #96e6a1 at 120°. 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 14.13:1 · AA
white 1.17 failsblack 14.13 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.

sRGB86%
OKLab86%
OKLCH86%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(120deg, #d4fc79 0%, #d0fa7d 7.14%, #cbf980 14.29%, #c7f783 21.43%, #c3f687 28.57%, #bff48a 35.71%, #baf38d 42.86%, #b6f18f 50%, #b1f092 57.14%, #adee95 64.29%, #a8ec97 71.43%, #a4eb9a 78.57%, #9fe99c 85.71%, #9be89f 92.86%, #96e6a1 100%);
  background-image: linear-gradient(120deg in oklab, #d4fc79 0%, #96e6a1 100%);
}
tailwind v4
bg-linear-120/oklab from-[#d4fc79] to-[#96e6a1]
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="50.0962" y1="-86.7691" x2="1389.9038" y2="686.7691"><stop offset="0%" stop-color="#d4fc79"/><stop offset="7.14%" stop-color="#d0fa7d"/><stop offset="14.29%" stop-color="#cbf980"/><stop offset="21.43%" stop-color="#c7f783"/><stop offset="28.57%" stop-color="#c3f687"/><stop offset="35.71%" stop-color="#bff48a"/><stop offset="42.86%" stop-color="#baf38d"/><stop offset="50%" stop-color="#b6f18f"/><stop offset="57.14%" stop-color="#b1f092"/><stop offset="64.29%" stop-color="#adee95"/><stop offset="71.43%" stop-color="#a8ec97"/><stop offset="78.57%" stop-color="#a4eb9a"/><stop offset="85.71%" stop-color="#9fe99c"/><stop offset="92.86%" stop-color="#9be89f"/><stop offset="100%" stop-color="#96e6a1"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "dusty-grass": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.831,
            0.988,
            0.475
          ],
          "hex": "#d4fc79"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.588,
            0.902,
            0.631
          ],
          "hex": "#96e6a1"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(120deg in oklab, #d4fc79 0%, #96e6a1 100%)",
        "interpolation": "oklab",
        "angle": 120,
        "name": "Dusty Grass",
        "contrast": {
          "white": {
            "ratio": 1.167,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 14.13,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Dusty Grass (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 Dusty Grass gradient (#d4fc79, #96e6a1), 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