HEX Color Conversion

Hex Color Code #FFF2DC — RGB & HSL Conversions

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

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

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

The RGB code for #FFF2DC is computed as rgb(255, 242, 220). Web designers using HSL values will find it at a hue of 38°, saturation of 100%, and lightness index of 93%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #FFF2DC

For print design setups, the CMYK values for the #FFF2DC color code are Cyan: 0%, Magenta: 5%, Yellow: 14%, and Black: 0%. Orange balances warmth and friendliness, serving as a bright focal accent in active user interfaces.

Red Channel 255
Green Channel 242
Blue Channel 220
Luminance 0.899

HEX #FFF2DC Color Space Conversions

Click to copy format
HEX Color Code #FFF2DC
RGB (Red Green Blue) rgb(255, 242, 220)
HSL (Hue Sat Light) hsl(38°, 100%, 93%)
CMYK (Commercial Print) cmyk(0%, 5%, 14%, 0%)
HSV / HSB Values hsv(38°, 14%, 100%)
Decimal Color Code 16773852
CSS Custom Variable --color-hex: #FFF2DC;
Tailwind CSS Utility bg-[#FFF2DC]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #FFF2DC

Small body copy preview

Black Text on Background

Black text readability test with #FFF2DC

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 #FFF2DC */
--color-hex: #FFF2DC;
--color-rgb: rgb(255, 242, 220);
--color-hsl: hsl(38deg, 100%, 93%);

Adjacent HEX Color Codes

Copied!