Brand colors
Sourcegraph colors
Sourcegraph's 4 brand colors as structured tokens — every role's hex with copy buttons, contrast pairs measured against the brand's own surface, and CSS / DTCG downloads. Ask your agent for a palette inspired by Sourcegraph via the colors MCP.
- Source
- sourcegraph.com
- Extracted
- Version
- 1
Role tokens
Contrast pairs
| Pair | Ratio | AA | AA large | AAA | Fix |
|---|---|---|---|---|---|
Aaprimary on surface | 2.54:1 | fail | fail | fail | AA: primary → #2e8539 (4.64:1) |
Aaaccent on surface | 4.33:1 | fail | pass | fail | AA: accent → #cf463a (4.57:1) |
Aatext on surface | 18.88:1 | pass | pass | pass | — |
Aatext on primary | 7.43:1 | pass | pass | pass | — |
Aatext on accent | 4.36:1 | fail | pass | fail | AA: text → #0a0a0a (4.57:1) |
Measured against the brand's own surface where it has one; fixes move lightness only so they stay on-hue.
Download
The same tokens as CSS custom properties, a Tailwind theme block, and a W3C DTCG color group — or fetch tokens.json / brand.css for the full brand.
:root {
--color-primary: #3fb950;
--color-accent: #d14d41;
--color-surface: #ffffff;
--color-text: #111111;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
primary: "#3fb950",
accent: "#d14d41",
surface: "#ffffff",
text: "#111111",
},
},
},
};
{
"$description": "Sourcegraph brand colors",
"color": {
"primary": {
"$type": "color",
"$value": "#3fb950"
},
"accent": {
"$type": "color",
"$value": "#d14d41"
},
"surface": {
"$type": "color",
"$value": "#ffffff"
},
"text": {
"$type": "color",
"$value": "#111111"
}
}
}Similar brand palettes
Public brands whose primary sits closest on the hue wheel.
Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.
https://mcp.brandsweets.com/colors/mcpclaude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
›build a palette inspired by Sourcegraph for a dev-tool startup — keep the feel, change the primary, and give me the /palettes/new link
/palettes/new/3fb950-d14d41-ffffff-111111?lock=0Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.