What is hex #FBFF2F color?
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.
From a technical standpoint, this color is composed of 98% red, 100% green and 18% blue, resulting in rgb(251, 255, 47) and hsl(61, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (2%, 0%, 82%, 0%).
In the HSV/HSB scale, #FBFF2F features a hue of 61°, 82% saturation, and 100% brightness.
Hex #FBFF2F Color Codes & Conversions
| Closest Named Color | Daffodil (#FFFF31) |
| Hex Code | #FBFF2F |
| Hex8 (RGBA Hex) | #FBFF2FFF |
| RGB (CSS) | rgb(251, 255, 47) |
| RGBA (CSS) | rgba(251, 255, 47, 1) |
| HSL (CSS) | hsl(61, 100%, 59%) |
| HSLA (CSS) | hsla(61, 100%, 59%, 1) |
| HSV / HSB | (61°, 82%, 100%) |
| CMYK Values | (2%, 0%, 82%, 0%) |
| OKLCH (Modern CSS) | oklch(96.6% 0.203 110.9) |
| CIE-LAB (D65) | 96.92, -22.51, 88.09 |
| CIE XYZ | 76.06, 92.24, 16.49 |
| Decimal / Binary |
16514863
11111011 11111111 00101111 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF33 [Electric Yellow] |
| Inverse Color | #0400D0 |
| Complementary Color | #332FFF |
| Closest Pantone® | Pantone 107 C |
| Closest RAL | RAL 1026 [Luminous yellow] |
#FBFF2F Grayscale Equivalents
| Average | #B8B8B8 |
| Lightness (Desaturation) | #979797 |
| Weighted (BT601) | #E6E6E6 |
| Luma (BT709) | #EFEFEF |
WCAG 2.1 Color Contrast & Accessibility
Check how #FBFF2F 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 #FBFF2F
Sample preview of readable typography on top of #FBFF2F.
Black Text on #FBFF2F
Sample preview of readable typography on top of #FBFF2F.
HTML / CSS Live Previews & Snippets for #FBFF2F
Preview #FBFF2F in real UI elements and copy ready-to-use CSS rules.
background-color: #FBFF2F;
color: #FBFF2F;
border: 2px solid #FBFF2F;
:root {
--color-primary: #FBFF2F;
--color-primary-rgb: 251, 255, 47;
--color-complementary: #332FFF;
}
.btn-accent {
background-color: #FBFF2F;
color: #000000;
}
Hex #FBFF2F Color Palettes
Complementary Palette
The complementary color of #FBFF2F is #332FFF. 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 #FBFF2F pairs with #FF9B2F and #93FF2F, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FBFF2F pairs with #9B2FFF and #2F93FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FBFF2F uses #FF2FFB and #2FFBFF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FBFF2F combines #2FFBFF, #332FFF and #FF332F around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FBFF2F pairs with #2FFF9B, #332FFF and #FF2F93 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FBFF2F
Tints
Tints are created by mixing #FBFF2F with white, producing lighter variations.
Tones
Tones are created by mixing #FBFF2F with gray, softening saturation.
Shades
Shades result from mixing #FBFF2F with black, creating deeper variations.
Hex #FBFF2F in Programming & CSS Frameworks
Copy the exact syntax for #FBFF2F in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FBFF2F |
| Tailwind CSS | bg-[#FBFF2F] text-[#FBFF2F] |
| Java (AWT) | new Color(251,255,47); |
| Python | Color("#FBFF2F") |
| .NET (C#) | Color.FromArgb(255, 251,255,47); |
| Swift / iOS | UIColor(red: 0.98, green: 1, blue: 0.18, alpha: 1) |
| Kotlin / Android | Color.rgb(251, 255, 47) |