HEX Color Conversion

Hex Color Code #DBAB20 — RGB & HSL Conversions

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

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

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

The RGB code for #DBAB20 is computed as rgb(219, 171, 32). Web designers using HSL values will find it at a hue of 45°, saturation of 75%, and lightness index of 49%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #DBAB20

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

Red Channel 219
Green Channel 171
Blue Channel 32
Luminance 0.443

HEX #DBAB20 Color Space Conversions

Click to copy format
HEX Color Code #DBAB20
RGB (Red Green Blue) rgb(219, 171, 32)
HSL (Hue Sat Light) hsl(45°, 75%, 49%)
CMYK (Commercial Print) cmyk(0%, 22%, 85%, 14%)
HSV / HSB Values hsv(45°, 85%, 86%)
Decimal Color Code 14396192
CSS Custom Variable --color-hex: #DBAB20;
Tailwind CSS Utility bg-[#DBAB20]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #DBAB20

Small body copy preview

Black Text on Background

Black text readability test with #DBAB20

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 #DBAB20 */
--color-hex: #DBAB20;
--color-rgb: rgb(219, 171, 32);
--color-hsl: hsl(45deg, 75%, 49%);

Adjacent HEX Color Codes

Copied!