#3F6212 color
The swatch above shows #3F6212 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#3F6212 is a dark, vivid yellow-green, closest to the CSS named color darkolivegreen (#556B2F).
It is also a Tailwind CSS default: lime-800. That means you can write bg-lime-800 or text-lime-800 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #3F6212 |
| RGB | rgb(63, 98, 18) |
| HSL | hsl(86, 69%, 23%) |
| CMYK | cmyk(36%, 0%, 82%, 62%) |
| Decimal | 4153874 |
| CSS | color: #3F6212; |
| Android | 0xFF3F6212 |
| Swift | UIColor(red: 0.247, green: 0.384, blue: 0.071, alpha: 1) |
Accessibility and contrast
| White text on #3F6212 | 7.08:1 — AA pass · AA large pass · AAA pass |
| Black text on #3F6212 | 2.97:1 — AA fail · AA large fail · 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 #3F6212
Each swatch keeps the hue and saturation of #3F6212 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #3F6212
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #3F6212 in code
/* CSS */
.element { color: #3F6212; background-color: #3F6212; }
.element { color: rgb(63 98 18); }
.element { color: hsl(86 69% 23%); }
/* Tailwind */
<div class="bg-lime-800 text-white">
/* SCSS variable */
$brand: #3F6212;
Frequently asked questions
What color is #3F6212?
#3F6212 is a dark, vivid yellow-green. Its hue sits at 86° on the color wheel, with 69% saturation and 23% lightness.
What is #3F6212 in RGB?
#3F6212 converts to rgb(63, 98, 18) — 63 red, 98 green and 18 blue.
What is #3F6212 in CMYK?
Approximately cmyk(36%, 0%, 82%, 62%). 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 #3F6212 be white or black?
White gives the better contrast ratio (7.08:1 versus 2.97:1).
What is the complementary color of #3F6212?
#351263 — the hue directly opposite #3F6212 on the color wheel.