Export

Code

/* Khaki Tan — colorset.net */
:root {
  --color-1: #C3B091;
  --color-2: #D4C5A9;
  --color-3: #E3D9C1;
  --color-4: #F0E68C;
  --color-5: #F5DEB3;

  --color-bg: #F9F8E8;
  --color-surface: #F0EEDF;
  --color-border: #D8D6C3;
  --color-text: #5C4C30;
  --color-muted: #776851;
  --color-primary: #827814;
  --color-on-primary: #FFFFFF;
  --color-accent: #978567;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #140F06;
    --color-surface: #1E190F;
    --color-border: #342D20;
    --color-text: #E8E4BF;
    --color-muted: #888569;
    --color-primary: #F0E68C;
    --color-on-primary: #140F06;
    --color-accent: #C3B091;
    --color-on-accent: #140F06;
  }
}

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 #F5DEB3adjusted for contrast · from #C3B091
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #C3B091adjusted for contrast · from #F5DEB3
Muted textderivedderived
Primaryadjusted for contrast · from #C3B091from palette · color 4
On primaryderivedderived
Accentadjusted for contrast · from #C3B091from palette · color 1
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.75:1AAA pass 4.5:1
Text on surface7.11:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent5.87:1AA pass 4.5:1
Primary on background4.22:1AA Large pass 3:1
Accent on background3.34:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.79:1AAA pass 4.5:1
Text on surface13.55:1AAA pass 4.5:1
Muted text on background5.09:1AA pass 4.5:1
Label on primary14.90:1AAA pass 4.5:1
Label on accent9.03:1AAA pass 4.5:1
Primary on background14.90:1AAA pass 3:1
Accent on background9.03: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#C3B091 (Text 1)#D4C5A9 (Text 2)#E3D9C1 (Text 3)#F0E68C (Text 4)#F5DEB3 (Text 5)
#C3B091Same color1.24—1.51—1.65—1.61—
#D4C5A91.24—Same color1.21—1.33—1.29—
#E3D9C11.51—1.21—Same color1.10—1.07—
#F0E68C1.65—1.33—1.10—Same color1.03—
#F5DEB31.61—1.29—1.07—1.03—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#C3B091#D4C5A9#E3D9C1#F0E68C#F5DEB3

Variations

About Khaki Tan

Khaki Tan is a warm yellow palette of 5 colors that runs from pale yellow #F0E68C to light yellow #C3B091. With a hue spread of just 23°, it is effectively monochromatic: #C3B091, #D4C5A9 and #F0E68C differ mostly in lightness. All five colors stay in a narrow light band (77% to 91% lightness, #C3B091 to #F0E68C), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.059, peaking at 0.112 in #F0E68C); the colors feel soft and muted. As a UI theme it uses #827814 for primary actions and #978567 as the accent; dark mode sits on #140F06 with #E8E4BF text (14.8:1). Try it for e-commerce product pages, documentation and focused single-product sites, letting pale yellow #F0E68C carry the key actions.

Khaki Tan color palette: #C3B091, #D4C5A9, #E3D9C1, #F0E68C, #F5DEB3
Share image for Khaki Tan

Gradients in similar colors