Hex Color Code #F0F28C — RGB & HSL Conversions
How to use the #F0F28C color code in HTML & CSS?
For developers, implementing the #F0F28C color code involves declaring it in your styles. In stylesheet designs, use color: #F0F28C; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#F0F28C] or custom configure it in your theme files.
What are the RGB and HSL conversion values for #F0F28C?
The RGB code for #F0F28C is computed as rgb(240, 242, 140). Web designers using HSL values will find it at a hue of 61°, saturation of 80%, and lightness index of 75%, representing a highly vivid, intense, and brilliant shade.
CMYK print code settings for #F0F28C
For print design setups, the CMYK values for the #F0F28C color code are Cyan: 1%, Magenta: 0%, Yellow: 42%, and Black: 5%. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.
HEX #F0F28C Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #F0F28C
Small body copy preview
Black text readability test with #F0F28C
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: #F0F28C;
--color-rgb: rgb(240, 242, 140);
--color-hsl: hsl(61deg, 80%, 75%);