Medium's color identity is defined by a minimalist palette centered on black, white, and a range of neutral grays, reflecting its focus on clarity and readability. The brand uses green as an accent for interactive elements and highlights.
medium.comClick any swatch to copy its hex. Hover for RGB and HSL.
Pick a format, copy or download. Everything below is generated from the exact hex values above.
:root {
--info: #1A8917;
--error: #E4572E;
--accent: #02B875;
--border: #E5E5E5;
--primary: #000000;
--success: #02B875;
--surface: #F9F9F9;
--warning: #FFC017;
--secondary: #FFFFFF;
--text-muted: #B3B3B1;
--background: #FFFFFF;
--text-primary: #242424;
--text-secondary: #6B6B6B;
}Every text tone tested against every surface, per WCAG 2.1.
Text on background
Needs 4.5:1 for body text
15.5:1
Pass
Text on surface
Needs 4.5:1 for body text
14.7:1
Pass
Secondary text on background
Needs 4.5:1 for body text
5.3:1
Pass
Secondary text on surface
Needs 4.5:1 for body text
5.1:1
Pass
Muted text on background
Needs 3:1 for large text
2.1:1
Fail
Muted text on surface
Needs 3:1 for large text
2.0:1
Fail
The quiet part of the Medium palette: page background, card surfaces, dividers and the three text tones that sit on them. Click a value to copy it.
Medium's palette is rooted in monochrome and neutral tones, with green as a distinctive accent. The restrained use of color emphasizes content and readability.
Primary black and white create strong contrast.
Accent green is used sparingly for calls to action.
Grays provide hierarchy and subtle separation.
Black and white convey clarity, professionalism, and minimalism, supporting Medium's editorial focus. The green accent signals action and growth, drawing attention without overwhelming.
Medium's palette has remained largely consistent since its launch, with only minor adjustments to gray tones for improved accessibility. The green accent has always been a core part of the brand's identity.
Used for the Medium logo, navigation bar, and primary text.
Backgrounds and large content areas use white for maximum readability.
Green highlights buttons, links, and interactive elements.
White and very light gray are used for page and card backgrounds.
Charcoal and gray tones provide hierarchy for headlines, body text, and metadata.
Green, yellow, and red are used for success, warning, and error messages respectively.
Hex codes, RGB values, neutrals and how to use the palette.
The official Medium primary color hex code is #000000. This black is used for the logo and main text.
Medium Black (#000000) in RGB is (0, 0, 0) and in CMYK is (0, 0, 0, 100).
Medium uses a range of grays including #F9F9F9 for surfaces, #E5E5E5 for borders, #6B6B6B for secondary text, and #B3B3B1 for muted text.
Use black and white for primary elements and backgrounds, with green (#02B875) reserved for accents and calls to action. Grays establish hierarchy and should be used for supporting UI and text.
The secondary color is Medium White, #FFFFFF, and the accent is Medium Green, #02B875. Together with the primary they make up the three brand colors at the top of this page.
4 of 6 text and background pairings meet WCAG 2.1 AA contrast. The contrast section above shows every pairing with its exact ratio.
Use the export block on this page. It gives you CSS custom properties, a Tailwind config, W3C design tokens or a shadcn/ui theme built from these exact hex values, with copy and download buttons.
Yes. Export the Claude Code skill, Cursor rules or Codex prompt from the same block. The agent then applies Medium's colors consistently when it generates UI.
Start from this palette's mood and get an original 13-color system for your own project, contrast-checked and ready to export.
More free tools