HEX Color Conversion

Hex Color Code #7FA480 — RGB & HSL Conversions

How to use the #7FA480 color code in HTML & CSS?

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

What are the RGB and HSL conversion values for #7FA480?

In the digital sRGB color space, the hex value #7FA480 is converted to RGB values of Red: 127, Green: 164, and Blue: 128. When analyzed under the HSL model, its coordinates correspond to hue angle 122°, 17% saturation, and 57% lightness. This makes it visually a balanced medium tone with a soft, understated pastel shade.

CMYK print code settings for #7FA480

When converting #7FA480 for CMYK printing, the color separation consists of 23% Cyan, 0% Magenta, 22% Yellow, and 36% 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 127
Green Channel 164
Blue Channel 128
Luminance 0.326

HEX #7FA480 Color Space Conversions

Click to copy format
HEX Color Code #7FA480
RGB (Red Green Blue) rgb(127, 164, 128)
HSL (Hue Sat Light) hsl(122°, 17%, 57%)
CMYK (Commercial Print) cmyk(23%, 0%, 22%, 36%)
HSV / HSB Values hsv(122°, 23%, 64%)
Decimal Color Code 8365184
CSS Custom Variable --color-hex: #7FA480;
Tailwind CSS Utility bg-[#7FA480]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #7FA480

Small body copy preview

Black Text on Background

Black text readability test with #7FA480

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 #7FA480 */
--color-hex: #7FA480;
--color-rgb: rgb(127, 164, 128);
--color-hsl: hsl(122deg, 17%, 57%);

Adjacent HEX Color Codes

Copied!