Export

Code

/* Khaki Sand — colorset.net */
:root {
  --color-1: #C3A87A;
  --color-2: #D1B98E;
  --color-3: #DFCAA2;
  --color-4: #EDDBB6;
  --color-5: #FBECCA;

  --color-bg: #FBECCA;
  --color-surface: #FDF4E0;
  --color-border: #E0D4B7;
  --color-text: #624A1D;
  --color-muted: #766850;
  --color-primary: #9D8356;
  --color-on-primary: #000000;
  --color-accent: #67532E;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #160E03;
    --color-surface: #20180A;
    --color-border: #362C1B;
    --color-text: #FBECCA;
    --color-muted: #91856B;
    --color-primary: #C3A87A;
    --color-on-primary: #160E03;
    --color-accent: #DFCAA2;
    --color-on-accent: #160E03;
  }
}

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 5adjusted for contrast · from #C3A87A
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #C3A87Afrom palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #C3A87Afrom palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #C3A87Afrom palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.13:1AAA pass 4.5:1
Text on surface7.63:1AAA pass 4.5:1
Muted text on background4.64:1AA pass 4.5:1
Label on primary5.81:1AA pass 4.5:1
Label on accent7.36:1AAA pass 4.5:1
Primary on background3.09:1AA Large pass 3:1
Accent on background6.29:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background16.35:1AAA pass 4.5:1
Text on surface15.01:1AAA pass 4.5:1
Muted text on background5.25:1AA pass 4.5:1
Label on primary8.38:1AAA pass 4.5:1
Label on accent11.93:1AAA pass 4.5:1
Primary on background8.38:1AAA pass 3:1
Accent on background11.93: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#C3A87A (Text 1)#D1B98E (Text 2)#DFCAA2 (Text 3)#EDDBB6 (Text 4)#FBECCA (Text 5)
#C3A87ASame color1.20—1.42—1.67—1.95—
#D1B98E1.20—Same color1.19—1.40—1.63—
#DFCAA21.42—1.19—Same color1.18—1.37—
#EDDBB61.67—1.40—1.18—Same color1.17—
#FBECCA1.95—1.63—1.37—1.17—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#C3A87A#D1B98E#DFCAA2#EDDBB6#FBECCA

Variations

About Khaki Sand

About 77% of the color weight in Khaki Sand sits in yellow, which makes it a warm palette anchored by light yellow #DFCAA2. With a hue spread of just 6°, it is effectively monochromatic: #C3A87A, #D1B98E and #DFCAA2 differ mostly in lightness. All five colors stay in a narrow light band (74% to 95% lightness, #C3A87A to #FBECCA), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.058, peaking at 0.069 in #C3A87A); the colors feel soft and muted. In light mode #FBECCA becomes the background with #624A1D text at 7.1:1, and #9D8356 takes the primary role. With #C3A87A leading, good fits include clean landing pages, reading apps and editorial design.

Khaki Sand color palette: #C3A87A, #D1B98E, #DFCAA2, #EDDBB6, #FBECCA
Share image for Khaki Sand

Gradients in similar colors