#047857 color
The swatch above shows #047857 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.
#047857 is a dark, vivid cyan, closest to the CSS named color teal (#008080).
It is also a Tailwind CSS default: emerald-700. That means you can write bg-emerald-700 or text-emerald-700 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #047857 |
| RGB | rgb(4, 120, 87) |
| HSL | hsl(163, 94%, 24%) |
| CMYK | cmyk(97%, 0%, 27%, 53%) |
| Decimal | 292951 |
| CSS | color: #047857; |
| Android | 0xFF047857 |
| Swift | UIColor(red: 0.016, green: 0.471, blue: 0.341, alpha: 1) |
Accessibility and contrast
| White text on #047857 | 5.48:1 — AA pass · AA large pass · AAA fail |
| Black text on #047857 | 3.83: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 #047857
Each swatch keeps the hue and saturation of #047857 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #047857
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #047857 in code
/* CSS */
.element { color: #047857; background-color: #047857; }
.element { color: rgb(4 120 87); }
.element { color: hsl(163 94% 24%); }
/* Tailwind */
<div class="bg-emerald-700 text-white">
/* SCSS variable */
$brand: #047857;
Frequently asked questions
What color is #047857?
#047857 is a dark, vivid cyan. Its hue sits at 163° on the color wheel, with 94% saturation and 24% lightness.
What is #047857 in RGB?
#047857 converts to rgb(4, 120, 87) — 4 red, 120 green and 87 blue.
What is #047857 in CMYK?
Approximately cmyk(97%, 0%, 27%, 53%). 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 #047857 be white or black?
White gives the better contrast ratio (5.48:1 versus 3.83:1).
What is the complementary color of #047857?
#770424 — the hue directly opposite #047857 on the color wheel.