Named gradient · WebGradients

Soft Grass

Soft Grass is a green gradient from WebGradients (MIT) — #c1dfc4 → #deecdd 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 14.62:1 · AA
white 1.23 failsblack 14.62 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.

sRGB68%
OKLab68%
OKLCH68%

Report

  • white ink: worst 1.23:1 at 98% (fails AA); black ink: worst 14.62: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(0deg, #c1dfc4 0%, #c3e0c6 7.14%, #c5e1c8 14.29%, #c7e2c9 21.43%, #c9e3cb 28.57%, #cbe4cd 35.71%, #cde5cf 42.86%, #d0e6d0 50%, #d2e6d2 57.14%, #d4e7d4 64.29%, #d6e8d6 71.43%, #d8e9d8 78.57%, #daead9 85.71%, #dcebdb 92.86%, #deecdd 100%);
  background-image: linear-gradient(0deg in oklab, #c1dfc4 0%, #deecdd 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#c1dfc4] to-[#deecdd]
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="#c1dfc4"/><stop offset="7.14%" stop-color="#c3e0c6"/><stop offset="14.29%" stop-color="#c5e1c8"/><stop offset="21.43%" stop-color="#c7e2c9"/><stop offset="28.57%" stop-color="#c9e3cb"/><stop offset="35.71%" stop-color="#cbe4cd"/><stop offset="42.86%" stop-color="#cde5cf"/><stop offset="50%" stop-color="#d0e6d0"/><stop offset="57.14%" stop-color="#d2e6d2"/><stop offset="64.29%" stop-color="#d4e7d4"/><stop offset="71.43%" stop-color="#d6e8d6"/><stop offset="78.57%" stop-color="#d8e9d8"/><stop offset="85.71%" stop-color="#daead9"/><stop offset="92.86%" stop-color="#dcebdb"/><stop offset="100%" stop-color="#deecdd"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "soft-grass": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.757,
            0.875,
            0.769
          ],
          "hex": "#c1dfc4"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.871,
            0.925,
            0.867
          ],
          "hex": "#deecdd"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #c1dfc4 0%, #deecdd 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Soft Grass",
        "contrast": {
          "white": {
            "ratio": 1.225,
            "at": 0.9841,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 14.62,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Soft 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 Soft Grass gradient (#c1dfc4, #deecdd), 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