Skip to content
safran

Type to search. Enter opens the first result.

    Brand

    A short note on the name, the colours and the voice, for anyone who writes for Safran or builds something that should look like it belongs. The tokens themselves are in brand/tokens.css and brand/tokens.json in the repository.

    Safran
    The mark: three petals of a saffron crocus, and the three threads it is grown for rising past them.

    The metaphor

    "Safran" is saffron. A pinch of it changes the colour and the taste of a whole dish; a small profile file changes everything an agent does at a company. And saffron is expensive because it is gathered by hand, slowly, which is also how a company's working knowledge is gathered.

    The plant is the saffron crocus: lilac petals with darker veins, three long orange-red threads, yellow stamens, thin green leaves, dry soil. Every colour of the palette is taken from it.

    One rule follows from the metaphor and governs the rest: colour is used like saffron, a pinch at a time. Most of a page is calm neutral space. Orange marks the one thing that matters on it.

    Palette

    ColourHexUsed for
    Saffron 500#ff7a1aThe accent: the primary action, the active item, the profile wherever it is drawn.
    Saffron 700#b34a05Orange text on light backgrounds, where #ff7a1a has too little contrast.
    Saffron 300#ffa85fOrange text on dark backgrounds when #ff7a1a feels heavy.
    Petal 600#6c4baeThe second brand colour: links, keys in code, structure, focus rings (light theme).
    Petal 300#bfa6e6The same roles in the dark theme.
    Petal 50 – 200#f7f3fc #ece4f8 #d9c9f1Tinted surfaces and borders in the light theme.
    Stigma 500#e8431aIllustration only: the fresh thread, redder than the dried spice.
    Stamen 500#f0b70fWarnings and low-confidence values. Text on light uses Stamen 700 #7d5b00.
    Leaf 500#5f9a3cSuccess and passing checks. Text on light uses Leaf 700 #3c6a25.
    Soil 900#1c1c1cTerminal surfaces and the hero background.
    Soil 100#edededText on dark.
    Soil 300 – 600#bfb6ae #9b918a #776d67 #5a514cSecondary text and rules.

    Proportions to aim for on any surface: roughly 85% neutral, 10% petal, 5% saffron. If orange appears more than two or three times in one view, remove some.

    Semantic tokens

    Components use these names, never raw scale values. This site is built on them, and the diagrams in these docs are drawn with them, which is why they follow the theme.

    TokenLightDark
    --bg#fbf9fd#17151a
    --surface#ffffff#201d24
    --surface-2#f4eefb#2a2630
    --text#1f1a24#ededed
    --muted#5f5766#a9a1b0
    --border#e2d9ec#38323f
    --border-strong#9685aa#6f6579
    --accent#ff7a1a#ff7a1a
    --accent-text#b34a05#ff9547
    --on-accent#1c1c1c#1c1c1c
    --accent-2#6c4bae#bfa6e6
    --success#3c6a25#9cc97a
    --warn#7d5b00#f9d65c
    --danger#b3243f#ff8fa3
    --code-bg#f2ecf8#100f12

    The brand guide states that every text token is at least 4.5:1 (WCAG AA) on the background tokens of its theme, with the measured ratios recorded in brand/tokens.css. Text placed on an orange fill uses --on-accent, never white.

    Type

    System fonts only. Nothing is downloaded.

    RoleStackUsed for
    DisplayIowan Old Style, Palatino, GeorgiaHeadings and the wordmark. A book serif, because the reference is a botanical plate.
    BodyThe system UI fontRunning text.
    MonoThe system monospaceCode, commands, file names, ticket keys.

    Sentence case everywhere. No all-caps labels.

    The mark

    FileWhatWhere
    brand/logo.svgThe mark shown aboveAnywhere 24px and up, on a light or a dark background
    brand/favicon.svgThe mark with heavier threads and no back petal16 to 32px
    brand/wordmark.svgMark and "safran" in inkLight backgrounds
    brand/wordmark-dark.svgMark and "safran" in chalkDark backgrounds
    • The name is lower-case in the wordmark and in commands (safran), and capitalised as a product name in prose (Safran).
    • Keep clear space of at least a quarter of the mark's width on every side.
    • Do not recolour the mark, add a gradient or a shadow, outline it, rotate it, or set it on a purple or orange background. On a busy background, put it on #1c1c1c or #fbf9fd first.

    Voice

    Plain, concrete, no hype. The reader is an engineer who will check.

    • Say what it does and what it needs. "Reads safran.yaml, builds the connectors, opens the index on first use."
    • Numbers only when measured, with where they came from. No adjectives standing in for a measurement.
    • State limits as plainly as features: read-only tracker access, one install per company, what has not been run against a live service.
    • An error says what happened and what to do next. It does not apologise.
    • The metaphor is used once per surface, near the top. It is not stretched over every heading.
    • Examples use the fictional company acme (PAY-1423, payments-api). Never a real one.

    These docs are written to the same rules. Design principles has the engineering counterpart.

    In the terminal

    The CLI uses six colours, chosen as mid-tones that stay readable on a dark and on a light terminal.

    RoleHexUsed for
    accent#ff7a1aThe command name, the one value to notice
    purple#a283d8Keys, labels, section names
    success#5f9a3c✔ and passing results
    warn#f0b70f! and low-confidence values
    error#e8506a✘ and failures
    dim#9b918aHints, paths, secondary detail

    Colour never carries the meaning alone: the ✔, ! and ✘ glyphs and the words stay. Output is plain when NO_COLOR is set, when --no-color is passed, and when stdout is not a terminal.