#34D399 color
The swatch above shows #34D399 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.
#34D399 is a medium, moderately saturated green, closest to the CSS named color mediumturquoise (#48D1CC).
It is also a Tailwind CSS default: emerald-400. That means you can write bg-emerald-400 or text-emerald-400 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #34D399 |
| RGB | rgb(52, 211, 153) |
| HSL | hsl(158, 64%, 52%) |
| CMYK | cmyk(75%, 0%, 27%, 17%) |
| Decimal | 3462041 |
| CSS | color: #34D399; |
| Android | 0xFF34D399 |
| Swift | UIColor(red: 0.204, green: 0.827, blue: 0.600, alpha: 1) |
Accessibility and contrast
| White text on #34D399 | 1.92:1 — AA fail · AA large fail · AAA fail |
| Black text on #34D399 | 10.92:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
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 #34D399
Each swatch keeps the hue and saturation of #34D399 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #34D399
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #34D399 in code
/* CSS */
.element { color: #34D399; background-color: #34D399; }
.element { color: rgb(52 211 153); }
.element { color: hsl(158 64% 52%); }
/* Tailwind */
<div class="bg-emerald-400 text-black">
/* SCSS variable */
$brand: #34D399;
Frequently asked questions
What color is #34D399?
#34D399 is a medium, moderately saturated green. Its hue sits at 158° on the color wheel, with 64% saturation and 52% lightness.
What is #34D399 in RGB?
#34D399 converts to rgb(52, 211, 153) — 52 red, 211 green and 153 blue.
What is #34D399 in CMYK?
Approximately cmyk(75%, 0%, 27%, 17%). 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 #34D399 be white or black?
Black gives the better contrast ratio (10.92:1 versus 1.92:1).
What is the complementary color of #34D399?
#D33670 — the hue directly opposite #34D399 on the color wheel.