HEX Color Conversion

Hex Color Code #A0AF2D — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #A0AF2D is converted to RGB values of Red: 160, Green: 175, and Blue: 45. When analyzed under the HSL model, its coordinates correspond to hue angle 67°, 59% saturation, and 43% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #A0AF2D

When converting #A0AF2D for CMYK printing, the color separation consists of 9% Cyan, 0% Magenta, 74% Yellow, and 31% key/black. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 160
Green Channel 175
Blue Channel 45
Luminance 0.383

HEX #A0AF2D Color Space Conversions

Click to copy format
HEX Color Code #A0AF2D
RGB (Red Green Blue) rgb(160, 175, 45)
HSL (Hue Sat Light) hsl(67°, 59%, 43%)
CMYK (Commercial Print) cmyk(9%, 0%, 74%, 31%)
HSV / HSB Values hsv(67°, 74%, 69%)
Decimal Color Code 10530605
CSS Custom Variable --color-hex: #A0AF2D;
Tailwind CSS Utility bg-[#A0AF2D]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #A0AF2D

Small body copy preview

Black Text on Background

Black text readability test with #A0AF2D

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 #A0AF2D */
--color-hex: #A0AF2D;
--color-rgb: rgb(160, 175, 45);
--color-hsl: hsl(67deg, 59%, 43%);

Adjacent HEX Color Codes

Copied!