What is hex #FFF628 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 100% red, 96% green and 16% blue, resulting in rgb(255, 246, 40) and hsl(57, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 4%, 84%, 0%).
In the HSV/HSB scale, #FFF628 features a hue of 57°, 84% saturation, and 100% brightness.
Hex #FFF628 Color Codes & Conversions
| Closest Named Color | Daffodil (#FFFF31) |
| Hex Code | #FFF628 |
| Hex8 (RGBA Hex) | #FFF628FF |
| RGB (CSS) | rgb(255, 246, 40) |
| RGBA (CSS) | rgba(255, 246, 40, 1) |
| HSL (CSS) | hsl(57, 100%, 58%) |
| HSLA (CSS) | hsla(57, 100%, 58%, 1) |
| HSV / HSB | (57°, 84%, 100%) |
| CMYK Values | (0%, 4%, 84%, 0%) |
| OKLCH (Modern CSS) | oklch(95.0% 0.197 106.8) |
| CIE-LAB (D65) | 94.88, -16.74, 88.02 |
| CIE XYZ | 74.58, 87.33, 14.93 |
| Decimal / Binary |
16774696
11111111 11110110 00101000 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF33 [Electric Yellow] |
| Inverse Color | #0009D7 |
| Complementary Color | #2831FF |
| Closest Pantone® | Pantone 107 C |
| Closest RAL | RAL 1026 [Luminous yellow] |
#FFF628 Grayscale Equivalents
| Average | #B4B4B4 |
| Lightness (Desaturation) | #949494 |
| Weighted (BT601) | #E1E1E1 |
| Luma (BT709) | #E9E9E9 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFF628 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 #FFF628
Sample preview of readable typography on top of #FFF628.
Black Text on #FFF628
Sample preview of readable typography on top of #FFF628.
HTML / CSS Live Previews & Snippets for #FFF628
Preview #FFF628 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFF628;
color: #FFF628;
border: 2px solid #FFF628;
:root {
--color-primary: #FFF628;
--color-primary-rgb: 255, 246, 40;
--color-complementary: #2831FF;
}
.btn-accent {
background-color: #FFF628;
color: #000000;
}
Hex #FFF628 Color Palettes
Complementary Palette
The complementary color of #FFF628 is #2831FF. 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 #FFF628 pairs with #FF8A28 and #9CFF28, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFF628 pairs with #8A28FF and #289CFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFF628 uses #F628FF and #28FFF6, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFF628 combines #28FFF6, #2831FF and #FF2831 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFF628 pairs with #28FF8A, #2831FF and #FF289C spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFF628
Tints
Tints are created by mixing #FFF628 with white, producing lighter variations.
Tones
Tones are created by mixing #FFF628 with gray, softening saturation.
Shades
Shades result from mixing #FFF628 with black, creating deeper variations.
Hex #FFF628 in Programming & CSS Frameworks
Copy the exact syntax for #FFF628 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFF628 |
| Tailwind CSS | bg-[#FFF628] text-[#FFF628] |
| Java (AWT) | new Color(255,246,40); |
| Python | Color("#FFF628") |
| .NET (C#) | Color.FromArgb(255, 255,246,40); |
| Swift / iOS | UIColor(red: 1, green: 0.96, blue: 0.16, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 246, 40) |