# Lemon Squeezy gradient

Gradients derived from Lemon Squeezy's published colour tokens (nominative use; no brand assets). Deterministic: the same values are served as `--brand-gradient*` in the brand's brand.css.

- Page: https://brandsweets.com/gradients/brands/lemonsqueezy-com
- Brand colors: https://brandsweets.com/colors/brands/lemonsqueezy-com · Brand page: https://brandsweets.com/b/lemonsqueezy-com
- Palette: primary #fcc434, secondary #1e874c, accents #0075ad
- Source: https://lemonsqueezy.com (extracted 2026-09-02)

## Brand gradient

- CSS: `linear-gradient(135deg in oklab, #fcc434 0%, #1e874c 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#fcc434] to-[#1e874c]`
- Contrast (worst point): white 1.60:1 fail · black 4.63:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.fcc434-1e874c?a=135

## Hero background

Chroma ×0.35 so it can carry text; ink black (inkFor at the midpoint). L shifted +0.01 until the ink passes AA at the worst point (4.65:1).

- CSS: `linear-gradient(135deg in oklab, #e1cea7 0%, #617d69 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#e1cea7] to-[#617d69]`
- Contrast (worst point): white 1.54:1 fail · black 4.65:1 AA · banding medium · ink #000000
- Maker: https://brandsweets.com/gradients/new/v1.e1cea7-617d69?a=135

## Button / CTA

ΔL 0.08 top→bottom in the primary's hue (a lit surface, not a rainbow); hover L +0.03, active L −0.03. Black ink passes AA on the surface and both states (worst 10.28:1).

- CSS: `linear-gradient(180deg in oklch shorter hue, #ffd146 0%, #efb71d 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#ffd146] to-[#efb71d]`
- Contrast (worst point): white 1.45:1 fail · black 11.46:1 AA · banding high · ink #000000
- Maker: https://brandsweets.com/gradients/new/v1.ffd146-efb71d?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #ffdd73 0%, #f9c12f 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #ffc739 0%, #e4ad00 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #fff6c4 0%, #fcc434 50%, #bf8b00 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#fff6c4] via-[#fcc434] to-[#bf8b00]`
- Contrast (worst point): white 1.09:1 fail · black 6.91:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.fff6c4-fcc434-bf8b00?a=135&in=oklch&hue=shorter

## Analogous

Partner hue from the analogous rule at the source colour's lightness.

- CSS: `linear-gradient(135deg in oklab, #fcc434 0%, #fcbe93 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#fcc434] to-[#fcbe93]`
- Contrast (worst point): white 1.60:1 fail · black 12.89:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.fcc434-fcbe93?a=135

## Complementary

Partner hue from the complementary rule at the source colour's lightness. ΔH 180° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

- CSS: `linear-gradient(135deg in oklch shorter hue, #fcc434 0%, #b7cdfc 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#fcc434] to-[#b7cdfc]`
- Contrast (worst point): white 1.51:1 fail · black 13.07:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.fcc434-b7cdfc?a=135&in=oklch&hue=shorter

## Triadic

Partner hue from the triadic rule at the source colour's lightness.

- CSS: `linear-gradient(135deg in oklab, #fcc434 0%, #35e6f8 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#fcc434] to-[#35e6f8]`
- Contrast (worst point): white 1.51:1 fail · black 13.05:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.fcc434-35e6f8?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 1.60:1, black 4.63:1 AA */
  --brand-gradient: linear-gradient(135deg in oklab, #fcc434 0%, #1e874c 100%);
  /* hero — worst-case contrast: white 1.54:1, black 4.65:1 AA; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklab, #e1cea7 0%, #617d69 100%);
  --brand-gradient-hero-ink: #000000;
  /* button — worst-case contrast: white 1.45:1, black 11.46:1 AA */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #ffd146 0%, #efb71d 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #ffdd73 0%, #f9c12f 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #ffc739 0%, #e4ad00 100%);
  --brand-gradient-button-ink: #000000;
}
```

## Gradient maker

Every maker URL is the gradient's state: `/gradients/new/v1.<hex>-<hex>[_pos]?a=135&in=oklch&hue=shorter&e=soft&g=8`. Hand one to a human, let them refine, and read the link they return.

## Connect an agent

Point any MCP client at the BrandSweets gradients endpoint for the same engine and corpus:

- Endpoint: https://mcp.brandsweets.com/gradients/mcp
- Tools: `make_gradient` (2–5 colours → CSS with the interpolation space, Tailwind v4, SVG, PNG URL, DTCG token + the contrast/banding/gamut report), `brand_gradients` (brand slug or palette → brand gradient, hero, button, variants).
- Resource: `gradients://corpus` — the whole bundled corpus as JSON.
