HEX Color Conversion

Hex Color Code #D2B71E — RGB & HSL Conversions

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

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

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

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

CMYK print code settings for #D2B71E

For print design setups, the CMYK values for the #D2B71E color code are Cyan: 0%, Magenta: 13%, 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 183
Blue Channel 30
Luminance 0.477

HEX #D2B71E Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #D2B71E

Small body copy preview

Black Text on Background

Black text readability test with #D2B71E

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

Adjacent HEX Color Codes

Copied!