Darkolivegreen — #556B2F
#556B2F is a dark, moderately saturated yellow-green. It is the CSS named color darkolivegreen.
Color values
| HEX | #556B2F |
| RGB | rgb(85, 107, 47) |
| HSL | hsl(82, 39%, 30%) |
| CMYK | cmyk(21%, 0%, 56%, 58%) |
| Decimal | 5597999 |
| CSS | color: #556B2F; |
| Android | 0xFF556B2F |
| Swift | UIColor(red: 0.333, green: 0.420, blue: 0.184, alpha: 1) |
Accessibility and contrast
| White text on #556B2F | 5.95:1 — AA pass · AA large pass · AAA fail |
| Black text on #556B2F | 3.53:1 — AA fail · AA large pass · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #556B2F
Each swatch keeps the hue and saturation of #556B2F and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #556B2F
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #556B2F in code
/* CSS */
.element { color: #556B2F; background-color: #556B2F; }
.element { color: rgb(85 107 47); }
.element { color: hsl(82 39% 30%); }
/* Tailwind arbitrary value */
<div class="bg-[#556B2F] text-white">
/* SCSS variable */
$brand: #556B2F;
Frequently asked questions
What color is #556B2F?
#556B2F is a dark, moderately saturated yellow-green, which CSS calls darkolivegreen. Its hue sits at 82° on the color wheel, with 39% saturation and 30% lightness.
What is #556B2F in RGB?
#556B2F converts to rgb(85, 107, 47) — 85 red, 107 green and 47 blue.
What is #556B2F in CMYK?
Approximately cmyk(21%, 0%, 56%, 58%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #556B2F be white or black?
White gives the better contrast ratio (5.95:1 versus 3.53:1).
What is the complementary color of #556B2F?
#452F6A — the hue directly opposite #556B2F on the color wheel.