100% free no uploads no sign-up

dark olive green color code

The hex code for dark olive green is #556B2F, which is rgb(85, 107, 47) in RGB and cmyk(21%, 0%, 56%, 58%) in CMYK. It's a dark, moderately saturated green. It is a built-in CSS colour, so you can also write it as “darkolivegreen”.

#556B2Fdark olive green
White text: 5.94:1 ✓ AABlack text: 3.53:1 large text onlyNearest name: dark olive green

Move the sliders to find a lighter, darker or softer dark olive green; the codes update as you go.

Dark Olive Green colour codes

HEX#556B2F
RGBrgb(85, 107, 47)
HSLhsl(82, 39%, 30%)
HSV / HSBhsv(82, 56%, 42%)
CMYKcmyk(21%, 0%, 56%, 58%)
Decimal5597999
CSS keyworddarkolivegreen

About dark olive green

Dark Olive Green sits at a hue of 82° on the colour wheel, with 39% saturation and 30% lightness. That makes it a colour that sits between warm and cool: greens and purples like this can be styled warm or cool depending on what you put next to them.

For text, white reads better on dark olive green. Dark Olive Green as text on a white background has a contrast ratio of 5.94:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 3.53:1, which fails AA for body text.

Tints and shades of dark olive green

Tints mix dark olive green with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#EEF0EA#DDE1D5#CCD3C1#BBC4AC#AAB597#99A682#88976D#778959#667A44
dark olive green #556B2F
#4D602A#445626#3C4B21#33401C#2B3618#222B13#1A200E#111509#090B05

Colours that go with dark olive green

Complementary — opposite on the colour wheel: maximum contrast

#556B2F#452F6B

Analogous — neighbours 30° either side: calm and natural

#6B632F#556B2F#376B2F

Triadic — three hues 120° apart: lively but balanced

#556B2F#2F556B#6B2F55

Split complementary — the two neighbours of the complement: contrast with less tension

#556B2F#2F376B#632F6B

Tetradic — four hues 90° apart: rich, use one as the main colour

#556B2F#2F6B63#452F6B#6B2F37

Dark Olive Green text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
dark olive green on white5.94:1passpassfail
dark olive green on black3.53:1failpassfail

Check dark olive green against any other colour in the contrast checker.

How dark olive green looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #556B2Fprotanopia #706529deuteranopia #6D6333tritanopia #58665E

Use dark olive green in code

.dark-olive-green {
  color: darkolivegreen;
  background-color: #556b2f;
  border-color: rgb(85, 107, 47);
}

Frequently asked questions

What is the hex code for dark olive green?

Dark Olive Green is #556B2F (lowercase #556b2f). It's the official value of the CSS keyword “darkolivegreen”.

What is dark olive green in RGB, HSL and CMYK?

RGB: rgb(85, 107, 47). HSL: hsl(82, 39%, 30%). CMYK: cmyk(21%, 0%, 56%, 58%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with dark olive green?

Its complementary colour is #452F6B (close to dark slate blue), which gives the strongest contrast. For a calmer look, use the analogous colours #6B632F and #376B2F, or the triadic pair #2F556B and #6B2F55. Tints and shades of dark olive green itself always work together.

Is dark olive green a warm or cool colour?

Dark Olive Green has a hue of 82°, which makes it neither clearly warm nor cool.

Should I use black or white text on dark olive green?

White. Black text on dark olive green has a contrast ratio of 3.53:1 and white text has 5.94:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

How do I use dark olive green in CSS?

Write color: darkolivegreen; or color: #556b2f; — both give the same colour. Named colours work in every browser.

Colours similar to dark olive green