HEX Color Conversion

Hex Color Code #D1D48C — RGB & HSL Conversions

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

To apply the hex color #D1D48C in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #D1D48C; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #D1D48C; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#D1D48C].

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

In the digital sRGB color space, the hex value #D1D48C is converted to RGB values of Red: 209, Green: 212, and Blue: 140. When analyzed under the HSL model, its coordinates correspond to hue angle 63°, 46% saturation, and 69% lightness. This makes it visually a bright, soft tint with a balanced, moderate saturation.

CMYK print code settings for #D1D48C

When converting #D1D48C for CMYK printing, the color separation consists of 1% Cyan, 0% Magenta, 34% Yellow, and 17% key/black. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 209
Green Channel 212
Blue Channel 140
Luminance 0.625

HEX #D1D48C Color Space Conversions

Click to copy format
HEX Color Code #D1D48C
RGB (Red Green Blue) rgb(209, 212, 140)
HSL (Hue Sat Light) hsl(63°, 46%, 69%)
CMYK (Commercial Print) cmyk(1%, 0%, 34%, 17%)
HSV / HSB Values hsv(63°, 34%, 83%)
Decimal Color Code 13751436
CSS Custom Variable --color-hex: #D1D48C;
Tailwind CSS Utility bg-[#D1D48C]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #D1D48C

Small body copy preview

Black Text on Background

Black text readability test with #D1D48C

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 #D1D48C */
--color-hex: #D1D48C;
--color-rgb: rgb(209, 212, 140);
--color-hsl: hsl(63deg, 46%, 69%);

Adjacent HEX Color Codes

Copied!