HEX Color Conversion

Hex Color Code #D2D51E — RGB & HSL Conversions

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

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

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

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

CMYK print code settings for #D2D51E

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

Red Channel 210
Green Channel 213
Blue Channel 30
Luminance 0.614

HEX #D2D51E Color Space Conversions

Click to copy format
HEX Color Code #D2D51E
RGB (Red Green Blue) rgb(210, 213, 30)
HSL (Hue Sat Light) hsl(61°, 75%, 48%)
CMYK (Commercial Print) cmyk(1%, 0%, 86%, 16%)
HSV / HSB Values hsv(61°, 86%, 84%)
Decimal Color Code 13817118
CSS Custom Variable --color-hex: #D2D51E;
Tailwind CSS Utility bg-[#D2D51E]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #D2D51E

Small body copy preview

Black Text on Background

Black text readability test with #D2D51E

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 #D2D51E */
--color-hex: #D2D51E;
--color-rgb: rgb(210, 213, 30);
--color-hsl: hsl(61deg, 75%, 48%);

Adjacent HEX Color Codes

Copied!