Export

Code

/* Olive Drab — colorset.net */
:root {
  --color-1: #3B3C36;
  --color-2: #556B2F;
  --color-3: #6B8E23;
  --color-4: #808000;
  --color-5: #9ACD32;

  --color-bg: #F3FAEB;
  --color-surface: #EAF0E2;
  --color-border: #D0D8C7;
  --color-text: #3B3C36;
  --color-muted: #6A6B64;
  --color-primary: #5D7F09;
  --color-on-primary: #FFFFFF;
  --color-accent: #556B2F;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F100E;
    --color-surface: #191A18;
    --color-border: #2E2E29;
    --color-text: #B0BF9D;
    --color-muted: #7C876D;
    --color-primary: #5D7F09;
    --color-on-primary: #FFFFFF;
    --color-accent: #9ACD32;
    --color-on-accent: #0F100E;
  }
}

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 #9ACD32adjusted for contrast · from #3B3C36
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #9ACD32
Muted textderivedderived
Primaryadjusted for contrast · from #6B8E23adjusted for contrast · from #6B8E23
On primaryderivedderived
Accentfrom palette · color 2from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background10.44:1AAA pass 4.5:1
Text on surface9.58:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary4.66:1AA pass 4.5:1
Label on accent5.95:1AA pass 4.5:1
Primary on background4.37:1AA Large pass 3:1
Accent on background5.58:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background9.80:1AAA pass 4.5:1
Text on surface8.97:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary4.66:1AA pass 4.5:1
Label on accent10.13:1AAA pass 4.5:1
Primary on background4.09:1AA Large pass 3:1
Accent on background10.13: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#3B3C36 (Text 1)#556B2F (Text 2)#6B8E23 (Text 3)#808000 (Text 4)#9ACD32 (Text 5)
#3B3C36Same color1.87—2.93—2.65—5.91AA
#556B2F1.87—Same color1.56—1.42—3.16AA Large
#6B8E232.93—1.56—Same color1.10—2.02—
#8080002.65—1.42—1.10—Same color2.23—
#9ACD325.91AA3.16AA Large2.02—2.23—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#3B3C36#556B2F#6B8E23#808000#9ACD32

Variations

About Olive Drab

Olive Drab brings together a slate, two greens, a yellow and a light green (#3B3C36, #556B2F, #6B8E23, #808000, #9ACD32) in a balanced, green-led scheme. All hues sit within 17° of each other, so green #556B2F and its relatives form a cohesive monochromatic scheme. With lightness between 35% and 78% and #808000 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.110, medium for a palette, so the colors are clear without being loud; the most saturated color is #9ACD32. As a UI theme it uses #5D7F09 for primary actions and #556B2F as the accent; dark mode sits on #0F100E with #B0BF9D text (9.8:1). Try it for health and wellness apps, sustainability brands and outdoor gear, letting green #6B8E23 carry the key actions.

Olive Drab color palette: #3B3C36, #556B2F, #6B8E23, #808000, #9ACD32
Share image for Olive Drab

Gradients in similar colors