Grammarly DESIGN.md design system & style guide
AIProv1.0.0 (Latest)Grammarly's design system uses Forest Green (#027E6F) as the primary color and Glyph & Matter for type. This DESIGN.md records 22 colors and 95 design tokens from grammarly.com.
AI writing partner with deep teal-green actions, Matter headlines, and gradient product panels on white.
You can read Grammarly's full design narrative and up to 8 primary colors free. Upgrade to Pro for all 95 design tokens, full DESIGN.md downloads, and 1 revisions.
Upgrade to DesignMD Pro to copy all colors as :root CSS variables, inspect component token references, and download the full source file.
Design Guidelines
Overview
Grammarly's marketing site is bright, clean, and reassuring — the visual equivalent of its product promise. Pure white pages carry deep blue-ink headlines, a single forest-green action color, and saturated gradient panels that showcase the product UI like app screens floating over colored paper.
The personality is helpful professionalism: a writing partner that is smart but never intimidating. Layouts are roomy and centered, copy is short, and imagery alternates between real photography of people at work (cut out against solid color backdrops) and floating frosted-white suggestion chips that dramatize the product's UI. Everything is flat — depth comes from color fields and hairline borders, not shadows.
Colors
The palette comes from Grammarly's "origin" token ramp and is deliberately restrained: one green for action, ink neutrals for text, and a rainbow illustration ramp used only inside artwork.
- Primary (#027E6F): the signature forest green — every primary CTA ("Sign up It's free", "Try for $0.00"), the logo "G", checkmarks, and selected states. Hover deepens to #016A5E.
- Primary container (#EAFAF9) / On-primary-container (#014C43): a pale mint fill and deep green text pair used for the highlighted "Most popular" plan card and success-adjacent surfaces.
- Secondary (#0D8065): a slightly lighter teal-green used for green body links and accent text on white.
- Tertiary (#D5FF00): electric lime, used exclusively for promotional energy — the "50% off Pro" banner text and highlight marks, always against near-black.
- On-surface (#0E101A) / On-surface-variant (#1F243C): a blue-tinged ink for headlines and a softer midnight slate for body copy — never pure gray.
- Outline (#D9D9D9) / Outline-variant (#6D758D): light neutral hairlines for cards, and a denser blue-gray for the outline button's stroke.
- Inverse pair (#1C1C1C / #FFFFFF): near-black surfaces for the promo banner, footer, and dark feature sections.
- Illustration ramp: mint (#00E0AC), purple (#8675EB), teal, magenta, gold, and red exist in the token ramp but appear only inside product-panel gradients and iconography — never on chrome.
- Error (#EB0A00): ramp red-60 for destructive and error states.
Typography
Two proprietary families divide the labor: Matter (a geometric grotesque, set at weight 670 — heavier than bold) owns every headline, and Glyph owns all interface and body text.
- Headlines: Matter 670 at 36–52px with a mild −0.01em track and tight 1.09–1.12 line-height. Headlines carry the persuasion, so they stay big even on inner pages.
- Titles: Matter at 20px/600 labels cards and feature blocks.
- Body: Glyph at 18px for lead copy, 16px default, 14px for dense descriptions and footer links, all around 1.5 line-height.
- Labels: Glyph 16px/500 on the big 60px CTAs; 14px/600 for tags and small controls. Nav links run 16px/400 in the slate ink color.
Layout
A centered, fixed-max-width layout at 1280px on a strict 8px grid (4px half-steps for micro-adjustments).
- Section rhythm: 80–96px vertical padding; hero CTAs sit in a wide centered stack.
- Hero pattern: eyebrow → Matter headline → 18px subhead → paired CTAs → legal microcopy, then a product carousel or a photograph with floating UI chips.
- Feature sections alternate text-left/visual-right and mirrored pairs down the page.
- Pricing is a classic three-card row (Free / Pro / Enterprise) with the recommended plan lifted on a mint fill.
Elevation & Depth
The system is essentially flat — the measured shadow list is empty.
- Separation comes from 1px
#EBEBEB–#D9D9D9hairlines on white cards and from tonal fills (mint plan card, dark banner). - Where elevation exists, it is the tokenized
elevationscale: a hairline plus a whisper of shadow (0–2px y, 4–12px blur at very low opacity) on floating suggestion chips and popovers. - The colorful carousel panels get depth from their gradient fields, not from drop shadows.
Shapes
Friendly mid-radius rounding — the site splits the difference between enterprise square and consumer pill.
- Buttons: 6px radius regardless of size — the 34px nav CTA and the 60px hero CTA share the same corner.
- Cards: 8px for feature and pricing cards.
- Pills: fully rounded (999px) for suggestion chips, tags, and the "Try for free" badge.
- Icon buttons and avatars: perfect circles (50%).
Motion & Micro-interaction
Motion is short and utilitarian — nothing calls attention to itself.
- State changes (link hovers, color fills): ~150ms
ease. - Surface entrances (carousels, panels, drawers): ~300ms
ease-outtransforms; exits are faster. - Hover affordances (cards lifting, icon nudges): ~200ms
easeon transform and shadow.
Voice & Content Strategy
- Tone of voice: warm, confident, benefit-first. Headlines speak to outcomes ("Think big. We'll take care of the details.", "Great writing gets work done") rather than features.
- Capitalization: sentence case for headlines; CTA labels keep their own short grammar ("Sign up It's free", "Try for $0.00", "Contact Sales", "Request a demo").
- Terminology: "AI partner", "agents" (Humanizer agent, AI Detector agent), "suggestions" — the product is framed as collaborative, not automated.
- Feature copy leads with the user's gain: "Improve clarity and flow with one click", "Adapt your message for the context".
- Trust microcopy is explicit: "By signing up, you agree to the Terms and Conditions and Privacy Policy", "Email reminder 2 days before trial ends."
Components
Buttons
button-primary is the green 60px hero CTA — #027E6F fill, white 16px/500 label, 6px radius, 16px/24px padding; a 34px compact version lives in the nav. button-secondary is the outlined white variant ("Sign up with Google", "Explore Enterprise") with a #6D758D stroke and slate text. button-outline inverts the primary pair — white fill, green text and border — used for "Create Account"/"Contact Sales" on pricing cards. button-icon-circle is the 48px circular carousel arrow.
Cards
card is a white 8px-radius surface with an #EBEBEB hairline (feature carousel panels, suggestion cards). card-plan is the mint-filled pricing card that flags the recommended tier.
Nav & chrome
nav is a slim white bar (product dropdowns left, "Sign up" CTA right). banner-promo is the full-width near-black strip carrying lime #D5FF00 offer text. chip-suggestion is the frosted-white pill with an icon and 14px label that floats over feature imagery.
Links
link-accent renders inline links and legal links in the lighter #0D8065 teal on white.
Do's and Don'ts
- Do reserve
#027E6Ffor primary actions, the logo mark, and confirmation iconography — one green CTA per viewport. - Don't pull the illustration colors (mint #00E0AC, purple, magenta, gold) into UI chrome or text.
- Do set headlines in Matter at weight 670; never substitute a heavier Glyph — the contrast between the two families is the system.
- Don't add drop shadows to cards; separate with hairlines or tonal fills only.
- Do keep buttons at a 6px radius even when they scale to 60px tall.
- Do pair lime
#D5FF00only with near-black surfaces — it is a promotional accent, not a brand color for UI. - Don't capitalize CTA labels inconsistently; match the site's own short grammar ("Sign up It's free").
- Do keep photography cut out on solid or gradient color fields with floating white chips, never raw screenshots on gray.
- Do use mint
#EAFAF9to mark the single recommended choice in a comparison set. - Don't use pure black for text — headlines take
#0E101Aand body takes the blue-slate#1F243C.
How to use Grammarly's DESIGN.md with an AI agent
Get Grammarly's DESIGN.md
Fetch https://www.designmdpro.app/websites/grammarly.md or call the get_design_md tool with slug "grammarly" from the DesignMD Pro MCP server to get the public version. The full token set requires Pro.
Save it as DESIGN.md in your project root
Put the file next to AGENTS.md or CLAUDE.md so Claude Code, Cursor, Codex and other coding agents can find it.
Ask your agent to follow it
For example: "Build the settings page following the Grammarly design system in DESIGN.md — use its colors, typography and spacing tokens."
Grammarly style AI prompt
Build a responsive landing page in the visual style of Grammarly (grammarly.com), following its DESIGN.md design system.
## Colors
- error: #EB0A00
- outline: #D9D9D9
- primary: #027E6F
- surface: #FFFFFF
- on-error: #FFFFFF
- tertiary: #D5FF00
- secondary: #0D8065
- on-primary: #FFFFFF
## Typography
- body-lg: "Glyph", 18px, weight 400, line-height 1.44
- title-lg: "Matter", 20px, weight 600, line-height 1.2
## Corner radius
- lg: 12px
- md: 8px
- sm: 6px
## Rules
- Use only the colors above for backgrounds, text, borders and accents; do not invent new colors.
- Set all text with the typography styles above and keep their size and weight hierarchy.
- Take corner radius and spacing from the scales above so components look consistent.
Full DESIGN.md: https://www.designmdpro.app/websites/grammarly.mdCustomize in the V0 prompt generator →Frequently asked questions
What is Grammarly's primary color?
Grammarly's primary brand color is Forest Green (#027E6F). Its DESIGN.md defines 22 color tokens in total.
What font does Grammarly use?
Grammarly's primary typefaces are Glyph and Matter.
What is a free alternative to Matter?
Matter is a commercial typeface. A close free alternative on Google Fonts is Figtree.
How do I use Grammarly's design tokens in Tailwind CSS or shadcn/ui?
Grammarly's primary color (#027E6F) is public on this page. Generating a complete Tailwind or shadcn theme needs the full DESIGN.md, which is available with DesignMD Pro.
Is this Grammarly DESIGN.md official?
No. DesignMD Pro extracted it from the public grammarly.com website. It is not affiliated with or endorsed by Grammarly.
When was Grammarly's DESIGN.md last updated?
Version 1.0.0 was captured on November 21, 2026.
Grammarly and its trademarks belong to their respective owners. DesignMD Pro is an independent project, not affiliated with or endorsed by Grammarly; this DESIGN.md is extracted from the public website for reference only.