HEX Color Conversion

Hex Color Code #21D3AA — RGB & HSL Conversions

How to use the #21D3AA color code in HTML & CSS?

To apply the hex color #21D3AA in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #21D3AA; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #21D3AA; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#21D3AA].

What are the RGB and HSL conversion values for #21D3AA?

In the digital sRGB color space, the hex value #21D3AA is converted to RGB values of Red: 33, Green: 211, and Blue: 170. When analyzed under the HSL model, its coordinates correspond to hue angle 166°, 73% saturation, and 48% lightness. This makes it visually a balanced medium tone with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #21D3AA

When converting #21D3AA for CMYK printing, the color separation consists of 84% Cyan, 0% Magenta, 19% Yellow, and 17% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 33
Green Channel 211
Blue Channel 170
Luminance 0.498

HEX #21D3AA Color Space Conversions

Click to copy format
HEX Color Code #21D3AA
RGB (Red Green Blue) rgb(33, 211, 170)
HSL (Hue Sat Light) hsl(166°, 73%, 48%)
CMYK (Commercial Print) cmyk(84%, 0%, 19%, 17%)
HSV / HSB Values hsv(166°, 84%, 83%)
Decimal Color Code 2216874
CSS Custom Variable --color-hex: #21D3AA;
Tailwind CSS Utility bg-[#21D3AA]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #21D3AA

Small body copy preview

Black Text on Background

Black text readability test with #21D3AA

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #21D3AA */
--color-hex: #21D3AA;
--color-rgb: rgb(33, 211, 170);
--color-hsl: hsl(166deg, 73%, 48%);

Adjacent HEX Color Codes

Copied!