Named gradient · uiGradients

Space Light Green

Space Light Green is a green gradient from uiGradients (MIT) — #9fa0a8 → #5c7852 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 4.26:1 · AA large
white 2.60 failsblack 4.26 AA largebanding 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.

sRGB15%
OKLab15%
OKLCH30%

Report

  • white ink: worst 2.60:1 at 0% (fails AA); black ink: worst 4.26:1 at 100% (AA-large only) → use black text.
  • Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
  • Banding high: ~17px bands at 1440px — add grain 34 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #9fa0a8 0%, #9a9da2 7.14%, #959a9c 14.29%, #909895 21.43%, #8c958f 28.57%, #879289 35.71%, #828f83 42.86%, #7d8c7d 50%, #788977 57.14%, #748671 64.29%, #6f846a 71.43%, #6a8164 78.57%, #657e5e 85.71%, #617b58 92.86%, #5c7852 100%);
  background-image: linear-gradient(90deg in oklab, #9fa0a8 0%, #5c7852 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#9fa0a8] to-[#5c7852]
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="#9fa0a8"/><stop offset="7.14%" stop-color="#9a9da2"/><stop offset="14.29%" stop-color="#959a9c"/><stop offset="21.43%" stop-color="#909895"/><stop offset="28.57%" stop-color="#8c958f"/><stop offset="35.71%" stop-color="#879289"/><stop offset="42.86%" stop-color="#828f83"/><stop offset="50%" stop-color="#7d8c7d"/><stop offset="57.14%" stop-color="#788977"/><stop offset="64.29%" stop-color="#748671"/><stop offset="71.43%" stop-color="#6f846a"/><stop offset="78.57%" stop-color="#6a8164"/><stop offset="85.71%" stop-color="#657e5e"/><stop offset="92.86%" stop-color="#617b58"/><stop offset="100%" stop-color="#5c7852"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "space-light-green": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.624,
            0.627,
            0.659
          ],
          "hex": "#9fa0a8"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.361,
            0.471,
            0.322
          ],
          "hex": "#5c7852"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #9fa0a8 0%, #5c7852 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Space Light Green",
        "contrast": {
          "white": {
            "ratio": 2.603,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 4.263,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Space Light Green (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 Space Light Green gradient (#9fa0a8, #5c7852), 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