Colors

The openai.com color palette

openai.com builds its pages on #ffffff with #000000 text and no single accent color. The 8 colors below were measured from the live site.

Measured from openai.com 4 days ago.

Palette

8 colors
ColorsRoleHexRGBLight / dark
backgroundPage background#ffffffrgb(255 255 255)#000000
surfaceCards, panels, raised or recessed surfaces#e0e0e0rgb(224 224 224)#1f1f1f
surface-2Secondary surface#f1f1f1rgb(241 241 241)
foregroundPrimary text#000000rgb(0 0 0)#ffffff
muted-foregroundSecondary text, captions#666666rgb(102 102 102)#999999
primaryCandidate accent (semantic role inferred)#000000rgb(0 0 0)#ffffff
on-primaryText on the accent#ffffffrgb(255 255 255)#111111
borderHairlines, dividers, input borders#e0e0e0rgb(224 224 224)#333333
Text on the page background
21.00:1 · passes WCAG AA
Text on the accent
21.00:1 · passes WCAG AA

CSS variables

Every color as a custom property, named by role. The dark block is there when the site has a dark theme.

:root {
  --color-background: #ffffff;
  --color-surface: #e0e0e0;
  --color-surface-2: #f1f1f1;
  --color-foreground: #000000;
  --color-muted-foreground: #666666;
  --color-primary: #000000;
  --color-on-primary: #ffffff;
  --color-border: #e0e0e0;
}
​
[data-theme="dark"] {
  --color-background: #000000;
  --color-surface: #1f1f1f;
  --color-foreground: #ffffff;
  --color-muted-foreground: #999999;
  --color-primary: #ffffff;
  --color-on-primary: #111111;
  --color-border: #333333;
}

For AI agents

The pack is plain text, no key: fetch DESIGN.md, or hand the whole pack to Claude Code, Cursor or Copilot with the MCP server.

curl -s https://stylepack.ai/packs/openai.com/DESIGN.md

Questions

What is the openai.com hex code?

The accent color on openai.com is #000000; the page background is #ffffff and the main text color #000000. Each is measured from the rendered page, so it is what visitors see, not a value from a style guide.

How do I use the openai.com colors in Tailwind or CSS?

Copy the CSS variables or the Tailwind v4 theme on this page, or download the design pack: it includes tokens.json (W3C design tokens), tokens.css and tailwind.css with the same values.