CSS named color
DarkOliveGreen #556B2F
DarkOliveGreen is a dark yellow-green with the hex code #556B2F, which converts to rgb(85, 107, 47). Open #556B2F in the converter to tweak it.
DarkOliveGreen color values
| HEX | #556B2F |
|---|---|
| HEX (shorthand) | — |
| RGB | rgb(85, 107, 47) |
| RGBA | rgba(85, 107, 47, 1) |
| 8-digit HEX | #556B2FFF |
| HSL | hsl(82, 39%, 30%) |
| HSV / HSB | 82°, 56%, 42% |
| CMYK | 21%, 0%, 56%, 58% |
| RGB 0–1 | 0.333, 0.42, 0.184 |
| Decimal | 5597999 |
| CSS keyword | darkolivegreen |
How #556B2F converts to RGB
Split the hex code into three pairs and read each pair as a base-16 number: 55 → 85, 6B → 107, 2F → 47. That gives rgb(85, 107, 47). The step-by-step guide explains the math.
Shades of DarkOliveGreen
Mixed toward black in 10% steps. Click a swatch to copy its hex.
Tints of DarkOliveGreen
Mixed toward white in 10% steps.
Color harmonies
Hue rotations of DarkOliveGreen on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.
Complementary
Analogous
Split-complementary
Triadic
Tetradic (square)
Contrast and accessibility
| Text | Background | Ratio | WCAG 2.x |
|---|---|---|---|
| White | DarkOliveGreen | 5.94:1 | AA |
| Black | DarkOliveGreen | 3.53:1 | AA Large only |
Use white text on a darkolivegreen background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.
Use DarkOliveGreen in CSS
.element {
color: darkolivegreen; /* keyword */
background-color: #556B2F; /* hex */
border-color: rgb(85 107 47 / 50%); /* 50% transparent */
}
Need it semi-transparent? Append an alpha byte: #556B2F80 is DarkOliveGreen at 50% opacity. See RGBA & transparency.
Similar named colors
FAQ
What is the HEX code for DarkOliveGreen?
The CSS named color darkolivegreen is #556B2F in hexadecimal. In CSS you can write color: darkolivegreen; or color: #556B2F; — both produce the same pixel.
What is DarkOliveGreen in RGB?
DarkOliveGreen is rgb(85, 107, 47): red 85, green 107, blue 47 on the 0–255 scale. As normalized 0–1 floats that is (0.333, 0.42, 0.184).
Is white or black text more readable on DarkOliveGreen?
White text is more readable. White on #556B2F has a contrast ratio of 5.94:1 (AA), black on #556B2F has 3.53:1 (AA Large only). WCAG AA needs 4.5:1 for normal text.