Export

Code

/* Olive Trench — colorset.net */
:root {
  --color-1: #1B1C0B;
  --color-2: #96A054;
  --color-3: #CD6E4C;
  --color-4: #494A2A;
  --color-5: #EEECDD;

  --color-bg: #EEECDD;
  --color-surface: #F4F3EA;
  --color-border: #D6D4C1;
  --color-text: #1B1C0B;
  --color-muted: #6A6C58;
  --color-primary: #B95C3A;
  --color-on-primary: #FFFFFF;
  --color-accent: #737B2F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1B1C0B;
    --color-surface: #262715;
    --color-border: #3B3C27;
    --color-text: #EEECDD;
    --color-muted: #918F81;
    --color-primary: #B95C3A;
    --color-on-primary: #FFFFFF;
    --color-accent: #96A054;
    --color-on-accent: #1B1C0B;
  }
}

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 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #CD6E4Cadjusted for contrast · from #CD6E4C
On primaryderivedderived
Accentadjusted for contrast · from #96A054from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.52:1AAA pass 4.5:1
Text on surface15.49:1AAA pass 4.5:1
Muted text on background4.53:1AA pass 4.5:1
Label on primary4.51:1AA pass 4.5:1
Label on accent4.56:1AA pass 4.5:1
Primary on background3.80:1AA Large pass 3:1
Accent on background3.84:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.52:1AAA pass 4.5:1
Text on surface12.78:1AAA pass 4.5:1
Muted text on background5.30:1AA pass 4.5:1
Label on primary4.51:1AA pass 4.5:1
Label on accent6.12:1AA pass 4.5:1
Primary on background3.82:1AA Large pass 3:1
Accent on background6.12:1AA 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#1B1C0B (Text 1)#96A054 (Text 2)#CD6E4C (Text 3)#494A2A (Text 4)#EEECDD (Text 5)
#1B1C0BSame color6.12AA4.87AA1.89—14.52AAA
#96A0546.12AASame color1.26—3.25AA Large2.37—
#CD6E4C4.87AA1.26—Same color2.58—2.98—
#494A2A1.89—3.25AA Large2.58—Same color7.70AAA
#EEECDD14.52AAA2.37—2.98—7.70AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#1B1C0B#96A054#CD6E4C#494A2A#EEECDD

Variations

About Olive Trench

Olive drab and rust for utilitarian, military-inspired menswear. No single hue dominates Olive Trench: orange carries about 34% of the color weight, shared with green and neutral, and orange #CD6E4C sits in the middle of the range. The hues range across 75° of the wheel, pairing green #96A054 with orange for lively contrast. Lightness runs from 22% to 94% (OKLCH), with #CD6E4C in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.066, peaking at 0.129 in #CD6E4C); the colors feel soft and muted. As a UI theme it uses #B95C3A for primary actions and #737B2F as the accent; dark mode sits on #1B1C0B with #EEECDD text (14.5:1). Its muted and earthy character, led by #CD6E4C, suits accessible interfaces, bold editorial layouts and editorial design.

Olive Trench color palette: #1B1C0B, #96A054, #CD6E4C, #494A2A, #EEECDD
Share image for Olive Trench

Gradients in similar colors