What is hex #FFB040 color?

 
The hex code #FFB040 is closest to the named color Deep Saffron (#FF9933).
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, 69% green and 25% blue, resulting in rgb(255, 176, 64) and hsl(35, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 31%, 75%, 0%).
In the HSV/HSB scale, #FFB040 features a hue of 35°, 75% saturation, and 100% brightness.

Hex #FFB040 Color Codes & Conversions

Closest Named Color
Deep Saffron (#FF9933)
Hex Code #FFB040
Hex8 (RGBA Hex) #FFB040FF
RGB (CSS) rgb(255, 176, 64)
RGBA (CSS) rgba(255, 176, 64, 1)
HSL (CSS) hsl(35, 100%, 63%)
HSLA (CSS) hsla(35, 100%, 63%, 1)
HSV / HSB (35°, 75%, 100%)
CMYK Values (0%, 31%, 75%, 0%)
OKLCH (Modern CSS) oklch(81.5% 0.152 71.4)
CIE-LAB (D65) 77.69, 19.52, 65.70
CIE XYZ 57.70, 52.69, 11.98
Decimal / Binary 16756800
11111111 10110000 01000000

Closest Standards & Equivalents

Closest Web Safe
#FF9933 [Deep Saffron]
Inverse Color
#004FBF
Complementary Color
#408FFF
Closest Pantone®
Pantone 1365 C
Closest RAL
RAL 1017 [Saffron yellow]

#FFB040 Grayscale Equivalents

Average
#A5A5A5
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#BBBBBB
Luma (BT709)
#B9B9B9

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFB040.

Contrast Ratio: 1.82:1
AA Fail AAA Fail

Black Text on #FFB040

Sample preview of readable typography on top of #FFB040.

Contrast Ratio: 11.54:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFB040

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

Background Preview
background-color: #FFB040;
Typography Color Preview
color: #FFB040;
Border & Shadow Preview
border: 2px solid #FFB040;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFB040;
  --color-primary-rgb: 255, 176, 64;
  --color-complementary: #408FFF;
}
.btn-accent {
  background-color: #FFB040;
  color: #000000;
}

Hex #FFB040 Color Palettes

Complementary Palette

The complementary color of #FFB040 is #408FFF. 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 #FFB040 pairs with #FF5040 and #EEFF40, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFB040 pairs with #5040FF and #40EEFF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFB040 uses #B040FF and #40FFB0, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFB040 combines #40FFB0, #408FFF and #FF408F around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFB040 pairs with #40FF50, #408FFF and #FF40EE spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFB040

Tints

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

Tones

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

Shades

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

Hex #FFB040 in Programming & CSS Frameworks

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

HTML / CSS #FFB040
Tailwind CSS bg-[#FFB040] text-[#FFB040]
Java (AWT) new Color(255,176,64);
Python Color("#FFB040")
.NET (C#) Color.FromArgb(255, 255,176,64);
Swift / iOS UIColor(red: 1, green: 0.69, blue: 0.25, alpha: 1)
Kotlin / Android Color.rgb(255, 176, 64)