What is hex #FFBA2F 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, 73% green and 18% blue, resulting in rgb(255, 186, 47) and hsl(40, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 27%, 82%, 0%).
In the HSV/HSB scale, #FFBA2F features a hue of 40°, 82% saturation, and 100% brightness.
Hex #FFBA2F Color Codes & Conversions
| Closest Named Color | Bright Yellow Crayola (#FFAA1D) |
| Hex Code | #FFBA2F |
| Hex8 (RGBA Hex) | #FFBA2FFF |
| RGB (CSS) | rgb(255, 186, 47) |
| RGBA (CSS) | rgba(255, 186, 47, 1) |
| HSL (CSS) | hsl(40, 100%, 59%) |
| HSLA (CSS) | hsla(40, 100%, 59%, 1) |
| HSV / HSB | (40°, 82%, 100%) |
| CMYK Values | (0%, 27%, 82%, 0%) |
| OKLCH (Modern CSS) | oklch(83.2% 0.161 79.3) |
| CIE-LAB (D65) | 79.95, 13.72, 73.75 |
| CIE XYZ | 59.32, 56.59, 10.49 |
| Decimal / Binary |
16759343
11111111 10111010 00101111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFBA2F 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 #FFBA2F
Sample preview of readable typography on top of #FFBA2F.
Black Text on #FFBA2F
Sample preview of readable typography on top of #FFBA2F.
HTML / CSS Live Previews & Snippets for #FFBA2F
Preview #FFBA2F in real UI elements and copy ready-to-use CSS rules.
background-color: #FFBA2F;
color: #FFBA2F;
border: 2px solid #FFBA2F;
:root {
--color-primary: #FFBA2F;
--color-primary-rgb: 255, 186, 47;
--color-complementary: #2F74FF;
}
.btn-accent {
background-color: #FFBA2F;
color: #000000;
}
Hex #FFBA2F Color Palettes
Complementary Palette
The complementary color of #FFBA2F is #2F74FF. 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 #FFBA2F pairs with #FF522F and #DCFF2F, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFBA2F pairs with #522FFF and #2FDCFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFBA2F uses #BA2FFF and #2FFFBA, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFBA2F combines #2FFFBA, #2F74FF and #FF2F74 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFBA2F pairs with #2FFF52, #2F74FF and #FF2FDC spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFBA2F
Tints
Tints are created by mixing #FFBA2F with white, producing lighter variations.
Tones
Tones are created by mixing #FFBA2F with gray, softening saturation.
Shades
Shades result from mixing #FFBA2F with black, creating deeper variations.
Hex #FFBA2F in Programming & CSS Frameworks
Copy the exact syntax for #FFBA2F in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFBA2F |
| Tailwind CSS | bg-[#FFBA2F] text-[#FFBA2F] |
| Java (AWT) | new Color(255,186,47); |
| Python | Color("#FFBA2F") |
| .NET (C#) | Color.FromArgb(255, 255,186,47); |
| Swift / iOS | UIColor(red: 1, green: 0.73, blue: 0.18, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 186, 47) |