What is hex #FBFF40 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 25% blue, resulting in rgb(251, 255, 64) and hsl(61, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (2%, 0%, 75%, 0%).
In the HSV/HSB scale, #FBFF40 features a hue of 61°, 75% saturation, and 100% brightness.
Hex #FBFF40 Color Codes & Conversions
| Closest Named Color | Electric Yellow (#FFFF33) |
| Hex Code | #FBFF40 |
| Hex8 (RGBA Hex) | #FBFF40FF |
| RGB (CSS) | rgb(251, 255, 64) |
| RGBA (CSS) | rgba(251, 255, 64, 1) |
| HSL (CSS) | hsl(61, 100%, 63%) |
| HSLA (CSS) | hsla(61, 100%, 63%, 1) |
| HSV / HSB | (61°, 75%, 100%) |
| CMYK Values | (2%, 0%, 75%, 0%) |
| OKLCH (Modern CSS) | oklch(96.6% 0.196 110.8) |
| CIE-LAB (D65) | 96.98, -21.96, 83.72 |
| CIE XYZ | 76.47, 92.40, 18.66 |
| Decimal / Binary |
16514880
11111011 11111111 01000000 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF33 [Electric Yellow] |
| Inverse Color | #0400BF |
| Complementary Color | #4440FF |
| Closest Pantone® | Pantone 101 C |
| Closest RAL | RAL 1016 [Sulfur yellow] |
#FBFF40 Grayscale Equivalents
| Average | #BEBEBE |
| Lightness (Desaturation) | #A0A0A0 |
| Weighted (BT601) | #E8E8E8 |
| Luma (BT709) | #F0F0F0 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FBFF40 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 #FBFF40
Sample preview of readable typography on top of #FBFF40.
Black Text on #FBFF40
Sample preview of readable typography on top of #FBFF40.
HTML / CSS Live Previews & Snippets for #FBFF40
Preview #FBFF40 in real UI elements and copy ready-to-use CSS rules.
background-color: #FBFF40;
color: #FBFF40;
border: 2px solid #FBFF40;
:root {
--color-primary: #FBFF40;
--color-primary-rgb: 251, 255, 64;
--color-complementary: #4440FF;
}
.btn-accent {
background-color: #FBFF40;
color: #000000;
}
Hex #FBFF40 Color Palettes
Complementary Palette
The complementary color of #FBFF40 is #4440FF. 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 #FBFF40 pairs with #FFA340 and #9BFF40, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FBFF40 pairs with #A340FF and #409BFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FBFF40 uses #FF40FB and #40FBFF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FBFF40 combines #40FBFF, #4440FF and #FF4440 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FBFF40 pairs with #40FFA3, #4440FF and #FF409B spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FBFF40
Tints
Tints are created by mixing #FBFF40 with white, producing lighter variations.
Tones
Tones are created by mixing #FBFF40 with gray, softening saturation.
Shades
Shades result from mixing #FBFF40 with black, creating deeper variations.
Hex #FBFF40 in Programming & CSS Frameworks
Copy the exact syntax for #FBFF40 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FBFF40 |
| Tailwind CSS | bg-[#FBFF40] text-[#FBFF40] |
| Java (AWT) | new Color(251,255,64); |
| Python | Color("#FBFF40") |
| .NET (C#) | Color.FromArgb(255, 251,255,64); |
| Swift / iOS | UIColor(red: 0.98, green: 1, blue: 0.25, alpha: 1) |
| Kotlin / Android | Color.rgb(251, 255, 64) |