HEX Color Conversion

Hex Color Code #2F8057 — RGB & HSL Conversions

How to use the #2F8057 color code in HTML & CSS?

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

What are the RGB and HSL conversion values for #2F8057?

In the digital sRGB color space, the hex value #2F8057 is converted to RGB values of Red: 47, Green: 128, and Blue: 87. When analyzed under the HSL model, its coordinates correspond to hue angle 150°, 46% saturation, and 34% lightness. This makes it visually a dark, rich color with a balanced, moderate saturation.

CMYK print code settings for #2F8057

When converting #2F8057 for CMYK printing, the color separation consists of 63% Cyan, 0% Magenta, 32% Yellow, and 50% key/black. Green-heavy spectrums are associated with organic elements and growth, making them highly effective for eco-conscious portals and wellness brands.

Red Channel 47
Green Channel 128
Blue Channel 87
Luminance 0.167

HEX #2F8057 Color Space Conversions

Click to copy format
HEX Color Code #2F8057
RGB (Red Green Blue) rgb(47, 128, 87)
HSL (Hue Sat Light) hsl(150°, 46%, 34%)
CMYK (Commercial Print) cmyk(63%, 0%, 32%, 50%)
HSV / HSB Values hsv(150°, 63%, 50%)
Decimal Color Code 3113047
CSS Custom Variable --color-hex: #2F8057;
Tailwind CSS Utility bg-[#2F8057]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #2F8057

Small body copy preview

Black Text on Background

Black text readability test with #2F8057

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 #2F8057 */
--color-hex: #2F8057;
--color-rgb: rgb(47, 128, 87);
--color-hsl: hsl(150deg, 46%, 34%);

Adjacent HEX Color Codes

Copied!