HEX Color Conversion

Hex Color Code #D2D48C — RGB & HSL Conversions

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

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

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

The RGB code for #D2D48C is computed as rgb(210, 212, 140). Web designers using HSL values will find it at a hue of 62°, saturation of 46%, and lightness index of 69%, representing a balanced, moderate saturation.

CMYK print code settings for #D2D48C

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

Red Channel 210
Green Channel 212
Blue Channel 140
Luminance 0.627

HEX #D2D48C Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #D2D48C

Small body copy preview

Black Text on Background

Black text readability test with #D2D48C

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

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

Adjacent HEX Color Codes

Copied!