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