Hex Color Code #D2D98C — RGB & HSL Conversions
How to use the #D2D98C color code in HTML & CSS?
To apply the hex color #D2D98C in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #D2D98C; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #D2D98C; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#D2D98C].
What are the RGB and HSL conversion values for #D2D98C?
In the digital sRGB color space, the hex value #D2D98C is converted to RGB values of Red: 210, Green: 217, and Blue: 140. When analyzed under the HSL model, its coordinates correspond to hue angle 65°, 50% saturation, and 70% lightness. This makes it visually a bright, soft tint with a balanced, moderate saturation.
CMYK print code settings for #D2D98C
When converting #D2D98C for CMYK printing, the color separation consists of 3% Cyan, 0% Magenta, 35% Yellow, and 15% key/black. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.
HEX #D2D98C Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #D2D98C
Small body copy preview
Black text readability test with #D2D98C
Small body copy preview
Complementary & Analogous Harmonies
Computed dynamicallyShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #D2D98C;
--color-rgb: rgb(210, 217, 140);
--color-hsl: hsl(65deg, 50%, 70%);