What is hex #FFBF2F color?

 
The hex code #FFBF2F is closest to the named color Deep Lemon (#F5C71A).
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 18% blue, resulting in rgb(255, 191, 47) and hsl(42, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 25%, 82%, 0%).
In the HSV/HSB scale, #FFBF2F features a hue of 42°, 82% saturation, and 100% brightness.

Hex #FFBF2F Color Codes & Conversions

Closest Named Color
Deep Lemon (#F5C71A)
Hex Code #FFBF2F
Hex8 (RGBA Hex) #FFBF2FFF
RGB (CSS) rgb(255, 191, 47)
RGBA (CSS) rgba(255, 191, 47, 1)
HSL (CSS) hsl(42, 100%, 59%)
HSLA (CSS) hsla(42, 100%, 59%, 1)
HSV / HSB (42°, 82%, 100%)
CMYK Values (0%, 25%, 82%, 0%)
OKLCH (Modern CSS) oklch(84.2% 0.162 82.1)
CIE-LAB (D65) 81.14, 11.12, 74.78
CIE XYZ 60.39, 58.73, 10.84
Decimal / Binary 16760623
11111111 10111111 00101111

Closest Standards & Equivalents

Closest Web Safe
#FFCC33
Inverse Color
#0040D0
Complementary Color
#2F6FFF
Closest Pantone®
Pantone 123 C
Closest RAL
RAL 1018 [Zinc yellow]

#FFBF2F Grayscale Equivalents

Average
#A4A4A4
Lightness (Desaturation)
#979797
Weighted (BT601)
#C2C2C2
Luma (BT709)
#C2C2C2

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFBF2F.

Contrast Ratio: 1.65:1
AA Fail AAA Fail

Black Text on #FFBF2F

Sample preview of readable typography on top of #FFBF2F.

Contrast Ratio: 12.75:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFBF2F

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

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

Hex #FFBF2F Color Palettes

Complementary Palette

The complementary color of #FFBF2F is #2F6FFF. 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 #FFBF2F pairs with #FF572F and #D7FF2F, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFBF2F pairs with #572FFF and #2FD7FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFBF2F uses #BF2FFF and #2FFFBF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFBF2F combines #2FFFBF, #2F6FFF and #FF2F6F around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFBF2F pairs with #2FFF57, #2F6FFF and #FF2FD7 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFBF2F

Tints

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

Tones

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

Shades

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

Hex #FFBF2F in Programming & CSS Frameworks

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

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