HEX Color Conversion

Hex Color Code #001F0F — RGB & HSL Conversions

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

For developers, implementing the #001F0F color code involves declaring it in your styles. In stylesheet designs, use color: #001F0F; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#001F0F] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #001F0F?

The RGB code for #001F0F is computed as rgb(0, 31, 15). Web designers using HSL values will find it at a hue of 149°, saturation of 100%, and lightness index of 6%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #001F0F

For print design setups, the CMYK values for the #001F0F color code are Cyan: 100%, Magenta: 0%, Yellow: 52%, and Black: 88%. Green-heavy spectrums are associated with organic elements and growth, making them highly effective for eco-conscious portals and wellness brands.

Red Channel 0
Green Channel 31
Blue Channel 15
Luminance 0.010

HEX #001F0F Color Space Conversions

Click to copy format
HEX Color Code #001F0F
RGB (Red Green Blue) rgb(0, 31, 15)
HSL (Hue Sat Light) hsl(149°, 100%, 6%)
CMYK (Commercial Print) cmyk(100%, 0%, 52%, 88%)
HSV / HSB Values hsv(149°, 100%, 12%)
Decimal Color Code 7951
CSS Custom Variable --color-hex: #001F0F;
Tailwind CSS Utility bg-[#001F0F]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #001F0F

Small body copy preview

Black Text on Background

Black text readability test with #001F0F

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

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 #001F0F */
--color-hex: #001F0F;
--color-rgb: rgb(0, 31, 15);
--color-hsl: hsl(149deg, 100%, 6%);

Adjacent HEX Color Codes

Copied!