Color

The warm palette behind Terra: the raw colors, and the tokens that put them to work.

How color works

Color has two layers:

  • Primitives: the raw colors. They are named by what they are, like stone/500.

  • Tokens: the same colors, named by what they are used for, like content/default.

Always use tokens in your designs. Primitives are only the source that the tokens point to.

Primitives

The raw palette. A lower step number is lighter, and a higher number is darker.

Color

Steps

Used for

Stone

25 to 900

A warm neutral. Backgrounds, borders, and text.

Gold

50 to 900

The brand color. Emphasis and brand moments.

Red

200 and 500

Errors and destructive actions.

Green

200 and 500

Success only. Rarely used.

Base

White and black

Pure white and pure black. Used sparingly.

Tokens

Tokens have the name of their group first, like surface/raised or border/strong. Each table below shows the token, the primitive it points to, and what to use it for.

Surface

Backgrounds and layers. Lighter surfaces sit on top of darker ones.

Token

Value

Use for

raised

stone/25

Cards and elements that sit above the page

page

stone/50

The main page background

panel

stone/100

Sections inside a page

tag

stone/200

Tags, chips, and small highlights

brand

gold/100

Soft brand-tinted areas

dark

stone/800

Dark sections and inverted areas

Border

Lines and outlines.

Token

Value

Use for

default

stone/200

Standard borders and dividers

medium

stone/400

Borders that need more presence

strong

stone/800

The strongest emphasis

brand

gold/600

Brand-colored outlines

brand-focused

gold/300

Soft focus ring

error

red/500

Error state

error-focus

red/200

Soft focus ring in an error state

Button

Colors for the primary and secondary buttons. Hover is the color when someone points at the button. Clicked is the color while it is pressed.

Token

Value

Use for

primary-bg

black

Primary button background

primary-text

stone/50

Text and icon on the primary button

primary-hover

stone/700

Primary button background on hover

primary-clicked

stone/500

Primary button background when pressed

secondary-bg

stone/200

Secondary button background

secondary-text

stone/800

Text and icon on the secondary button

secondary-hover

stone/300

Secondary button background on hover

secondary-clicked

stone/400

Secondary button background when pressed

Content

Text and icon colors, from strongest to quietest.

Token

Value

Use for

dark

stone/800

Titles and headings

strong

stone/600

Subtitles and key text

default

stone/500

Body text

muted

stone/400

Hints and captions. Non-essential only.

disabled

stone/200

Disabled text and icons

on-brand

stone/50

Text on dark backgrounds

brand

gold/600

Brand icons, large headings, and non-essential text

error

red/500

Error messages

success

green/500

Success messages. Large text and icons only.

Contrast and accessibility

Text colors are checked against Terra's main surfaces: raised, page, and panel. The numbers are contrast ratios. Body text needs at least 4.5:1. Large text (24px, or 18.66px bold) and icons need at least 3:1.

Content token

Raised

Page

Panel

Result

dark

13.6

12.8

11.5

Passes

strong

6.9

6.5

5.9

Passes

default

5.5

5.2

4.7

Passes

error

5.5

5.2

4.6

Passes

brand

3.9

3.7

3.4

Large text and icons only

success

3.6

3.4

3.0

Large text and icons only

muted

2.3

2.2

2.0

Non-essential only

Buttons also pass. Primary text on black is 18.3:1, and secondary text on its background is 10.1:1.

Notes

  • Brand is for icons, large headings, and non-essential text. It stays above 3:1 on every surface, including surface/brand (3.4:1), but it is too light for body text.

  • Success is only for large text and icons. Always pair it with an icon and a message in the default text color, so the meaning never depends on color alone.

  • Muted is for non-essential details, like hints and captions. Never use it for information people need to read.

  • Disabled is low contrast on purpose, like most disabled controls.

  • On-brand is for dark surfaces only (12.8:1 on surface/dark). Don't put it on mid-tone gold.

  • Never rely on color alone. Error states always need a message or an icon.

Usage rules

  • Use tokens, not primitives.

  • Pick text by importance: dark for titles, strong for subtitles, default for body, and muted for hints.

  • Avoid pure white backgrounds. Use raised or page instead.

  • Don't add new colors. If something is missing, extend the tokens first.

  • Inputs use border/strong for their outline, so the control is easy to spot. Border/default is for dividers and cards.

No headings found on page

Want to work together?

syahrulmiftahfarid@gmail.com

© 2026 Syahrul Miftah Farid

Want to work together?

syahrulmiftahfarid@gmail.com

© 2026 Syahrul Miftah Farid

Create a free website with Framer, the website builder loved by startups, designers and agencies.