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.
HEX #D2D51E Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #D2D51E
Small body copy preview
Black text readability test with #D2D51E
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #D2D51E;
--color-rgb: rgb(210, 213, 30);
--color-hsl: hsl(61deg, 75%, 48%);