HEX Color Conversion

Hex Color Code #004732 — RGB & HSL Conversions

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

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

What are the RGB and HSL conversion values for #004732?

In the digital sRGB color space, the hex value #004732 is converted to RGB values of Red: 0, Green: 71, and Blue: 50. When analyzed under the HSL model, its coordinates correspond to hue angle 162°, 100% saturation, and 14% lightness. This makes it visually a dark, rich color with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #004732

When converting #004732 for CMYK printing, the color separation consists of 100% Cyan, 0% Magenta, 30% Yellow, and 72% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 0
Green Channel 71
Blue Channel 50
Luminance 0.047

HEX #004732 Color Space Conversions

Click to copy format
HEX Color Code #004732
RGB (Red Green Blue) rgb(0, 71, 50)
HSL (Hue Sat Light) hsl(162°, 100%, 14%)
CMYK (Commercial Print) cmyk(100%, 0%, 30%, 72%)
HSV / HSB Values hsv(162°, 100%, 28%)
Decimal Color Code 18226
CSS Custom Variable --color-hex: #004732;
Tailwind CSS Utility bg-[#004732]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #004732

Small body copy preview

Black Text on Background

Black text readability test with #004732

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 #004732 */
--color-hex: #004732;
--color-rgb: rgb(0, 71, 50);
--color-hsl: hsl(162deg, 100%, 14%);

Adjacent HEX Color Codes

Copied!