# Forest Green to Royal Blue gradient

Forest Green (#228b22) to Royal Blue (#4169e1), interpolated perceptually. The engine's pick for this pair is oklab.

- Page: https://brandsweets.com/gradients/forestgreen-to-royalblue
- Colors: https://brandsweets.com/colors/forestgreen, https://brandsweets.com/colors/royalblue
- Reverse: https://brandsweets.com/gradients/royalblue-to-forestgreen

## OKLab

- CSS: `linear-gradient(135deg in oklab, #228b22 0%, #4169e1 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#228b22] to-[#4169e1]`
- Contrast (worst point): white 4.37:1 AA-large · black 4.32:1 AA-large · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.228b22-4169e1?a=135

## OKLCH (shorter hue)

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

## Eased (soft)

- CSS: `linear-gradient(135deg in oklab, #228b22 0%, #228b28 8.28%, #218a36 16.03%, #208a47 23.35%, #208858 30.32%, #21876b 37.03%, #23847e 43.56%, #278190 50%, #2b7ea2 56.44%, #307ab2 62.97%, #3575c1 69.68%, #3a71ce 76.65%, #3e6dd8 83.97%, #406adf 91.72%, #4169e1 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklab,#228b22_0%,#228b28_8.28%,#218a36_16.03%,#208a47_23.35%,#208858_30.32%,#21876b_37.03%,#23847e_43.56%,#278190_50%,#2b7ea2_56.44%,#307ab2_62.97%,#3575c1_69.68%,#3a71ce_76.65%,#3e6dd8_83.97%,#406adf_91.72%,#4169e1_100%)]`
- Contrast (worst point): white 4.37:1 AA-large · black 4.32:1 AA-large · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.228b22-4169e1?a=135&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 91.18% 34.54%, oklch(from #4169e1 l c h / 0.7618) 0%, rgb(from #4169e1 r g b / 0) 47.2%), radial-gradient(circle farthest-corner at 47.34% 7.16%, oklch(from #228b22 l c h / 0.8692) 0%, rgb(from #228b22 r g b / 0) 56.34%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_91.18%_34.54%,oklch(from_#4169e1_l_c_h_/_0.7618)_0%,rgb(from_#4169e1_r_g_b_/_0)_47.2%),radial-gradient(circle_farthest-corner_at_47.34%_7.16%,oklch(from_#228b22_l_c_h_/_0.8692)_0%,rgb(from_#228b22_r_g_b_/_0)_56.34%)]`
- Contrast (worst point): white 4.52:1 AA · black 4.48:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.228b22-4169e1?k=mesh&seed=forestgreen-to-royalblue

## 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.
