Export

Code

/* API Docs — colorset.net */
:root {
  --color-1: #FAFAF7;
  --color-2: #0F7B6C;
  --color-3: #DB6B2A;
  --color-4: #D6E4E1;
  --color-5: #1C2422;

  --color-bg: #FAFAF7;
  --color-surface: #F1F1EE;
  --color-border: #D8D8D2;
  --color-text: #1C2422;
  --color-muted: #656E6C;
  --color-primary: #DB6B2A;
  --color-on-primary: #1C2422;
  --color-accent: #0F7B6C;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1C2422;
    --color-surface: #272F2D;
    --color-border: #394643;
    --color-text: #FAFAF7;
    --color-muted: #979795;
    --color-primary: #DB6B2A;
    --color-on-primary: #1C2422;
    --color-accent: #208475;
    --color-on-accent: #FFFFFF;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundfrom palette · color 1from palette · color 5
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 5from palette · color 1
Muted textderivedderived
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #0F7B6C
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.16:1AAA pass 4.5:1
Text on surface14.01:1AAA pass 4.5:1
Muted text on background5.02:1AA pass 4.5:1
Label on primary4.64:1AA pass 4.5:1
Label on accent5.16:1AA pass 4.5:1
Primary on background3.27:1AA Large pass 3:1
Accent on background4.93:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.16:1AAA pass 4.5:1
Text on surface13.12:1AAA pass 4.5:1
Muted text on background5.42:1AA pass 4.5:1
Label on primary4.64:1AA pass 4.5:1
Label on accent4.55:1AA pass 4.5:1
Primary on background4.64:1AA pass 3:1
Accent on background3.49:1AA Large pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#FAFAF7 (Text 1)#0F7B6C (Text 2)#DB6B2A (Text 3)#D6E4E1 (Text 4)#1C2422 (Text 5)
#FAFAF7Same color4.93AA3.27AA Large1.25—15.16AAA
#0F7B6C4.93AASame color1.51—3.94AA Large3.07AA Large
#DB6B2A3.27AA Large1.51—Same color2.61—4.64AA
#D6E4E11.25—3.94AA Large2.61—Same color12.11AAA
#1C242215.16AAA3.07AA Large4.64AA12.11AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FAFAF7#0F7B6C#DB6B2A#D6E4E1#1C2422

Variations

About API Docs

Deep teal headings and orange code hints for developer portals and SDK guides. No single hue dominates API Docs: orange carries about 42% of the color weight, shared with neutral and teal, and orange #DB6B2A sits in the middle of the range. The hues range across 133° of the wheel, pairing teal #0F7B6C with orange for lively contrast. Lightness runs from 25% to 98% (OKLCH), with #DB6B2A in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.056, peaking at 0.159 in #DB6B2A); the colors feel soft and muted. As a UI theme it uses #DB6B2A for primary actions and #0F7B6C as the accent; dark mode sits on #1C2422 with #FAFAF7 text (15.2:1). With #DB6B2A leading, good fits include editorial design, calm productivity apps and boutique brands.

API Docs color palette: #FAFAF7, #0F7B6C, #DB6B2A, #D6E4E1, #1C2422
Share image for API Docs

Gradients in similar colors