#336600 color
#336600 is a dark, vivid yellow-green, closest to the CSS named color darkolivegreen (#556B2F).
Color values
| HEX | #336600 |
| RGB | rgb(51, 102, 0) |
| HSL | hsl(90, 100%, 20%) |
| CMYK | cmyk(50%, 0%, 100%, 60%) |
| Decimal | 3368448 |
| CSS | color: #336600; |
| Android | 0xFF336600 |
| Swift | UIColor(red: 0.200, green: 0.400, blue: 0.000, alpha: 1) |
Accessibility and contrast
| White text on #336600 | 6.90:1 — AA pass · AA large pass · AAA fail |
| Black text on #336600 | 3.04: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 #336600
Each swatch keeps the hue and saturation of #336600 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #336600
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #336600 in code
/* CSS */
.element { color: #336600; background-color: #336600; }
.element { color: rgb(51 102 0); }
.element { color: hsl(90 100% 20%); }
/* Tailwind arbitrary value */
<div class="bg-[#336600] text-white">
/* SCSS variable */
$brand: #336600;
Frequently asked questions
What color is #336600?
#336600 is a dark, vivid yellow-green. Its hue sits at 90° on the color wheel, with 100% saturation and 20% lightness.
What is #336600 in RGB?
#336600 converts to rgb(51, 102, 0) — 51 red, 102 green and 0 blue.
What is #336600 in CMYK?
Approximately cmyk(50%, 0%, 100%, 60%). 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 #336600 be white or black?
White gives the better contrast ratio (6.90:1 versus 3.04:1).
What is the complementary color of #336600?
#330066 — the hue directly opposite #336600 on the color wheel.