HEX Color Conversion

Hex Color Code #D2A81E — RGB & HSL Conversions

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

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

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

The RGB code for #D2A81E is computed as rgb(210, 168, 30). Web designers using HSL values will find it at a hue of 46°, saturation of 75%, and lightness index of 47%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #D2A81E

For print design setups, the CMYK values for the #D2A81E color code are Cyan: 0%, Magenta: 20%, Yellow: 86%, and Black: 18%. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 210
Green Channel 168
Blue Channel 30
Luminance 0.418

HEX #D2A81E Color Space Conversions

Click to copy format
HEX Color Code #D2A81E
RGB (Red Green Blue) rgb(210, 168, 30)
HSL (Hue Sat Light) hsl(46°, 75%, 47%)
CMYK (Commercial Print) cmyk(0%, 20%, 86%, 18%)
HSV / HSB Values hsv(46°, 86%, 82%)
Decimal Color Code 13805598
CSS Custom Variable --color-hex: #D2A81E;
Tailwind CSS Utility bg-[#D2A81E]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #D2A81E

Small body copy preview

Black Text on Background

Black text readability test with #D2A81E

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 #D2A81E */
--color-hex: #D2A81E;
--color-rgb: rgb(210, 168, 30);
--color-hsl: hsl(46deg, 75%, 47%);

Adjacent HEX Color Codes

Copied!