#052E16 color
The swatch above shows #052E16 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.
#052E16 is a very dark, vivid green, closest to the CSS named color midnightblue (#191970).
It is also a Tailwind CSS default: green-950. That means you can write bg-green-950 or text-green-950 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #052E16 |
| RGB | rgb(5, 46, 22) |
| HSL | hsl(145, 80%, 10%) |
| CMYK | cmyk(89%, 0%, 52%, 82%) |
| Decimal | 339478 |
| CSS | color: #052E16; |
| Android | 0xFF052E16 |
| Swift | UIColor(red: 0.020, green: 0.180, blue: 0.086, alpha: 1) |
Accessibility and contrast
| White text on #052E16 | 14.91:1 — AA pass · AA large pass · AAA pass |
| Black text on #052E16 | 1.41: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 #052E16
Each swatch keeps the hue and saturation of #052E16 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #052E16
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #052E16 in code
/* CSS */
.element { color: #052E16; background-color: #052E16; }
.element { color: rgb(5 46 22); }
.element { color: hsl(145 80% 10%); }
/* Tailwind */
<div class="bg-green-950 text-white">
/* SCSS variable */
$brand: #052E16;
Frequently asked questions
What color is #052E16?
#052E16 is a very dark, vivid green. Its hue sits at 145° on the color wheel, with 80% saturation and 10% lightness.
What is #052E16 in RGB?
#052E16 converts to rgb(5, 46, 22) — 5 red, 46 green and 22 blue.
What is #052E16 in CMYK?
Approximately cmyk(89%, 0%, 52%, 82%). 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 #052E16 be white or black?
White gives the better contrast ratio (14.91:1 versus 1.41:1).
What is the complementary color of #052E16?
#2E051D — the hue directly opposite #052E16 on the color wheel.