What is hex #FFBA2D 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, 45) and hsl(40, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 27%, 82%, 0%).
In the HSV/HSB scale, #FFBA2D features a hue of 40°, 82% saturation, and 100% brightness.
Hex #FFBA2D Color Codes & Conversions
| Closest Named Color | Bright Yellow Crayola (#FFAA1D) |
| Hex Code | #FFBA2D |
| Hex8 (RGBA Hex) | #FFBA2DFF |
| RGB (CSS) | rgb(255, 186, 45) |
| RGBA (CSS) | rgba(255, 186, 45, 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.162 79.5) |
| CIE-LAB (D65) | 79.94, 13.66, 74.34 |
| CIE XYZ | 59.28, 56.57, 10.28 |
| Decimal / Binary |
16759341
11111111 10111010 00101101 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFBA2D 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 #FFBA2D
Sample preview of readable typography on top of #FFBA2D.
Black Text on #FFBA2D
Sample preview of readable typography on top of #FFBA2D.
HTML / CSS Live Previews & Snippets for #FFBA2D
Preview #FFBA2D in real UI elements and copy ready-to-use CSS rules.
background-color: #FFBA2D;
color: #FFBA2D;
border: 2px solid #FFBA2D;
:root {
--color-primary: #FFBA2D;
--color-primary-rgb: 255, 186, 45;
--color-complementary: #2D72FF;
}
.btn-accent {
background-color: #FFBA2D;
color: #000000;
}
Hex #FFBA2D Color Palettes
Complementary Palette
The complementary color of #FFBA2D is #2D72FF. 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 #FFBA2D pairs with #FF512D and #DBFF2D, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFBA2D pairs with #512DFF and #2DDBFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFBA2D uses #BA2DFF and #2DFFBA, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFBA2D combines #2DFFBA, #2D72FF and #FF2D72 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFBA2D pairs with #2DFF51, #2D72FF and #FF2DDB spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFBA2D
Tints
Tints are created by mixing #FFBA2D with white, producing lighter variations.
Tones
Tones are created by mixing #FFBA2D with gray, softening saturation.
Shades
Shades result from mixing #FFBA2D with black, creating deeper variations.
Hex #FFBA2D in Programming & CSS Frameworks
Copy the exact syntax for #FFBA2D in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFBA2D |
| Tailwind CSS | bg-[#FFBA2D] text-[#FFBA2D] |
| Java (AWT) | new Color(255,186,45); |
| Python | Color("#FFBA2D") |
| .NET (C#) | Color.FromArgb(255, 255,186,45); |
| Swift / iOS | UIColor(red: 1, green: 0.73, blue: 0.18, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 186, 45) |