Named gradient · uiGradients

Crystal Clear

Crystal Clear is a green gradient from uiGradients (MIT) — #159957 → #155799 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
white text · worst 3.67:1 · AA large
white 3.67 AA largeblack 2.85 failsbanding 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.

sRGB61%
OKLab65%
OKLCH68%

Report

  • white ink: worst 3.67:1 at 1% (AA-large only); black ink: worst 2.85:1 at 100% (fails AA) → use white 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: ~22px bands at 1440px — add grain 43 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #159957 0%, #12955e 7.14%, #0e9064 14.29%, #0c8c6a 21.43%, #09886f 28.57%, #078375 35.71%, #067f79 42.86%, #067a7e 50%, #077682 57.14%, #087186 64.29%, #0a6c8a 71.43%, #0c678e 78.57%, #0f6292 85.71%, #125d96 92.86%, #155799 100%);
  background-image: linear-gradient(90deg in oklab, #159957 0%, #155799 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#159957] to-[#155799]
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="#159957"/><stop offset="7.14%" stop-color="#12955e"/><stop offset="14.29%" stop-color="#0e9064"/><stop offset="21.43%" stop-color="#0c8c6a"/><stop offset="28.57%" stop-color="#09886f"/><stop offset="35.71%" stop-color="#078375"/><stop offset="42.86%" stop-color="#067f79"/><stop offset="50%" stop-color="#067a7e"/><stop offset="57.14%" stop-color="#077682"/><stop offset="64.29%" stop-color="#087186"/><stop offset="71.43%" stop-color="#0a6c8a"/><stop offset="78.57%" stop-color="#0c678e"/><stop offset="85.71%" stop-color="#0f6292"/><stop offset="92.86%" stop-color="#125d96"/><stop offset="100%" stop-color="#155799"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "crystal-clear": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.082,
            0.6,
            0.341
          ],
          "hex": "#159957"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.082,
            0.341,
            0.6
          ],
          "hex": "#155799"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #159957 0%, #155799 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Crystal Clear",
        "contrast": {
          "white": {
            "ratio": 3.665,
            "at": 0.0085,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.855,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Crystal Clear (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 Crystal Clear gradient (#159957, #155799), 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