What is hex #F2FFAB color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 95% red, 100% green and 67% blue, resulting in rgb(242, 255, 171) and hsl(69, 100%, 84%).
For print media and manufacturing layout, the CMYK equivalent is (5%, 0%, 33%, 0%).
In the HSV/HSB scale, #F2FFAB features a hue of 69°, 33% saturation, and 100% brightness.
Hex #F2FFAB Color Codes & Conversions
| Closest Named Color | Canary (#FFFF99) |
| Hex Code | #F2FFAB |
| Hex8 (RGBA Hex) | #F2FFABFF |
| RGB (CSS) | rgb(242, 255, 171) |
| RGBA (CSS) | rgba(242, 255, 171, 1) |
| HSL (CSS) | hsl(69, 100%, 84%) |
| HSLA (CSS) | hsla(69, 100%, 84%, 1) |
| HSV / HSB | (69°, 33%, 100%) |
| CMYK Values | (5%, 0%, 33%, 0%) |
| OKLCH (Modern CSS) | oklch(97.1% 0.107 115.6) |
| CIE-LAB (D65) | 97.36, -17.09, 38.79 |
| CIE XYZ | 79.73, 93.34, 52.34 |
| Decimal / Binary |
15925163
11110010 11111111 10101011 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF99 [Canary] |
| Inverse Color | #0D0054 |
| Complementary Color | #B8ABFF |
| Closest Pantone® | Pantone Yellow 0131 C |
| Closest RAL | RAL 1015 [Light ivory] |
#F2FFAB Grayscale Equivalents
| Average | #DFDFDF |
| Lightness (Desaturation) | #D5D5D5 |
| Weighted (BT601) | #F2F2F2 |
| Luma (BT709) | #F6F6F6 |
WCAG 2.1 Color Contrast & Accessibility
Check how #F2FFAB complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #F2FFAB
Sample preview of readable typography on top of #F2FFAB.
Black Text on #F2FFAB
Sample preview of readable typography on top of #F2FFAB.
HTML / CSS Live Previews & Snippets for #F2FFAB
Preview #F2FFAB in real UI elements and copy ready-to-use CSS rules.
background-color: #F2FFAB;
color: #F2FFAB;
border: 2px solid #F2FFAB;
:root {
--color-primary: #F2FFAB;
--color-primary-rgb: 242, 255, 171;
--color-complementary: #B8ABFF;
}
.btn-accent {
background-color: #F2FFAB;
color: #000000;
}
Hex #F2FFAB Color Palettes
Complementary Palette
The complementary color of #F2FFAB is #B8ABFF. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #F2FFAB pairs with #FFE2AB and #C8FFAB, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #F2FFAB pairs with #E2ABFF and #ABC8FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #F2FFAB uses #FFABF2 and #ABF2FF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #F2FFAB combines #ABF2FF, #B8ABFF and #FFB8AB around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #F2FFAB pairs with #ABFFE2, #B8ABFF and #FFABC8 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #F2FFAB
Tints
Tints are created by mixing #F2FFAB with white, producing lighter variations.
Tones
Tones are created by mixing #F2FFAB with gray, softening saturation.
Shades
Shades result from mixing #F2FFAB with black, creating deeper variations.
Hex #F2FFAB in Programming & CSS Frameworks
Copy the exact syntax for #F2FFAB in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #F2FFAB |
| Tailwind CSS | bg-[#F2FFAB] text-[#F2FFAB] |
| Java (AWT) | new Color(242,255,171); |
| Python | Color("#F2FFAB") |
| .NET (C#) | Color.FromArgb(255, 242,255,171); |
| Swift / iOS | UIColor(red: 0.95, green: 1, blue: 0.67, alpha: 1) |
| Kotlin / Android | Color.rgb(242, 255, 171) |