Export

Code

/* Imperial Topaz — colorset.net */
:root {
  --color-1: #D4AF37;
  --color-2: #E6C35C;
  --color-3: #F4D878;
  --color-4: #FFE699;
  --color-5: #FFF4CC;

  --color-bg: #FAF7EB;
  --color-surface: #F1EEE2;
  --color-border: #D9D5C6;
  --color-text: #614C00;
  --color-muted: #736A51;
  --color-primary: #907300;
  --color-on-primary: #FFFFFF;
  --color-accent: #928863;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #150F00;
    --color-surface: #1F1905;
    --color-border: #352D15;
    --color-text: #FFF4CC;
    --color-muted: #918A6E;
    --color-primary: #D4AF37;
    --color-on-primary: #150F00;
    --color-accent: #FFE699;
    --color-on-accent: #150F00;
  }
}

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
Backgroundadjusted for contrast · from #FFF4CCadjusted for contrast · from #D4AF37
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #D4AF37from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #D4AF37from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #D4AF37from palette · color 4
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.70:1AAA pass 4.5:1
Text on surface7.11:1AAA pass 4.5:1
Muted text on background5.01:1AA pass 4.5:1
Label on primary4.53:1AA pass 4.5:1
Label on accent5.92:1AA pass 4.5:1
Primary on background4.22:1AA Large pass 3:1
Accent on background3.30:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.33:1AAA pass 4.5:1
Text on surface15.89:1AAA pass 4.5:1
Muted text on background5.51:1AA pass 4.5:1
Label on primary9.08:1AAA pass 4.5:1
Label on accent15.48:1AAA pass 4.5:1
Primary on background9.08:1AAA pass 3:1
Accent on background15.48:1AAA 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#D4AF37 (Text 1)#E6C35C (Text 2)#F4D878 (Text 3)#FFE699 (Text 4)#FFF4CC (Text 5)
#D4AF37Same color1.23—1.50—1.71—1.91—
#E6C35C1.23—Same color1.21—1.38—1.55—
#F4D8781.50—1.21—Same color1.14—1.28—
#FFE6991.71—1.38—1.14—Same color1.12—
#FFF4CC1.91—1.55—1.28—1.12—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#D4AF37#E6C35C#F4D878#FFE699#FFF4CC

Variations

About Imperial Topaz

Imperial Topaz is a warm yellow palette of 5 colors that runs from off-white #FFF4CC to light yellow #D4AF37. With a hue spread of just 4°, it is effectively monochromatic: #D4AF37, #E6C35C and #F4D878 differ mostly in lightness. All five colors stay in a narrow light band (77% to 97% lightness, #D4AF37 to #FFF4CC), so text and background roles are adjusted for contrast. Saturation is medium (mean OKLCH chroma 0.108, peaking at 0.139 in #D4AF37); the colors are clear without being loud. In light mode #FAF7EB becomes the background with #614C00 text at 7.7:1, and #907300 takes the primary role. With #D4AF37 leading, good fits include icons and logos, typography-led layouts and summer promotions.

Imperial Topaz color palette: #D4AF37, #E6C35C, #F4D878, #FFE699, #FFF4CC
Share image for Imperial Topaz

Gradients in similar colors