What is hex #FFBF02 color?

 
The hex code #FFBF02 is closest to the named color Fluorescent Orange (#FFBF00).
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, 75% green and 1% blue, resulting in rgb(255, 191, 2) and hsl(45, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 25%, 99%, 0%).
In the HSV/HSB scale, #FFBF02 features a hue of 45°, 99% saturation, and 100% brightness.

Hex #FFBF02 Color Codes & Conversions

Closest Named Color
Fluorescent Orange (#FFBF00)
Hex Code #FFBF02
Hex8 (RGBA Hex) #FFBF02FF
RGB (CSS) rgb(255, 191, 2)
RGBA (CSS) rgba(255, 191, 2, 1)
HSL (CSS) hsl(45, 100%, 50%)
HSLA (CSS) hsla(45, 100%, 50%, 1)
HSV / HSB (45°, 99%, 100%)
CMYK Values (0%, 25%, 99%, 0%)
OKLCH (Modern CSS) oklch(84.0% 0.172 84.0)
CIE-LAB (D65) 81.03, 10.40, 82.84
CIE XYZ 59.89, 58.53, 8.20
Decimal / Binary 16760578
11111111 10111111 00000010

Closest Standards & Equivalents

Closest Web Safe
#FFCC00
Inverse Color
#0040FD
Complementary Color
#0242FF
Closest Pantone®
Pantone 7548 C
Closest RAL
RAL 2007 [Luminous bright orange]

#FFBF02 Grayscale Equivalents

Average
#959595
Lightness (Desaturation)
#818181
Weighted (BT601)
#BDBDBD
Luma (BT709)
#BFBFBF

WCAG 2.1 Color Contrast & Accessibility

Check how #FFBF02 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 #FFBF02

Sample preview of readable typography on top of #FFBF02.

Contrast Ratio: 1.65:1
AA Fail AAA Fail

Black Text on #FFBF02

Sample preview of readable typography on top of #FFBF02.

Contrast Ratio: 12.71:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFBF02

Preview #FFBF02 in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FFBF02;
Typography Color Preview
color: #FFBF02;
Border & Shadow Preview
border: 2px solid #FFBF02;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFBF02;
  --color-primary-rgb: 255, 191, 2;
  --color-complementary: #0242FF;
}
.btn-accent {
  background-color: #FFBF02;
  color: #000000;
}

Hex #FFBF02 Color Palettes

Complementary Palette

The complementary color of #FFBF02 is #0242FF. 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 #FFBF02 pairs with #FF4002 and #C0FF02, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFBF02 pairs with #4002FF and #02C0FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFBF02 uses #BF02FF and #02FFBF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFBF02 combines #02FFBF, #0242FF and #FF0242 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFBF02 pairs with #02FF40, #0242FF and #FF02C0 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFBF02

Tints

Tints are created by mixing #FFBF02 with white, producing lighter variations.

Tones

Tones are created by mixing #FFBF02 with gray, softening saturation.

Shades

Shades result from mixing #FFBF02 with black, creating deeper variations.

Hex #FFBF02 in Programming & CSS Frameworks

Copy the exact syntax for #FFBF02 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FFBF02
Tailwind CSS bg-[#FFBF02] text-[#FFBF02]
Java (AWT) new Color(255,191,2);
Python Color("#FFBF02")
.NET (C#) Color.FromArgb(255, 255,191,2);
Swift / iOS UIColor(red: 1, green: 0.75, blue: 0.01, alpha: 1)
Kotlin / Android Color.rgb(255, 191, 2)