Toolman

#022C22 color

#022C22#022C22

The swatch above shows #022C22 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.

#022C22 is a very dark, vivid cyan, closest to the CSS named color midnightblue (#191970).

It is also a Tailwind CSS default: emerald-950. That means you can write bg-emerald-950 or text-emerald-950 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#022C22
RGBrgb(2, 44, 34)
HSLhsl(166, 91%, 9%)
CMYKcmyk(95%, 0%, 23%, 83%)
Decimal142370
CSScolor: #022C22;
Android0xFF022C22
SwiftUIColor(red: 0.008, green: 0.173, blue: 0.133, alpha: 1)

Accessibility and contrast

White text on #022C2215.15:1 — AA pass · AA large pass · AAA pass
Black text on #022C221.39:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

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 #022C22

Each swatch keeps the hue and saturation of #022C22 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #022C22

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #022C22 in code

/* CSS */
.element { color: #022C22; background-color: #022C22; }
.element { color: rgb(2 44 34); }
.element { color: hsl(166 91% 9%); }

/* Tailwind */
<div class="bg-emerald-950 text-white">

/* SCSS variable */
$brand: #022C22;

Frequently asked questions

What color is #022C22?

#022C22 is a very dark, vivid cyan. Its hue sits at 166° on the color wheel, with 91% saturation and 9% lightness.

What is #022C22 in RGB?

#022C22 converts to rgb(2, 44, 34) — 2 red, 44 green and 34 blue.

What is #022C22 in CMYK?

Approximately cmyk(95%, 0%, 23%, 83%). 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 #022C22 be white or black?

White gives the better contrast ratio (15.15:1 versus 1.39:1).

What is the complementary color of #022C22?

#2C020C — the hue directly opposite #022C22 on the color wheel.

Convert any color → · Browse all colors