#FFB300

#FFB300 — Color Codes & Palette

#FFB300  ·  rgb(255, 179, 0)  ·  hsl(42, 100%, 50%)

Color Codes

Format Value
HEX #FFB300
RGB rgb(255, 179, 0)
HSL hsl(42, 100%, 50%)

Shades of #FFB300

#E6A100#CC8F00#B37D00#996B00#805900#664700#4D3600#332400

Tints of #FFB300

#FFBA1A#FFC233#FFC94D#FFD166#FFD980#FFE099#FFE8B3#FFF0CC

Color Pairings & Harmony

Complementary
#004CFF
Analogous +30°
#CCFF00
Analogous −30°
#FF3300
Triadic +120°
#00FFB3
Triadic −120°
#B300FF

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
1.79:1 — Fail
vs. Black (#000000)
11.70:1 — AAA pass for normal text

CSS Snippet

.element {
  color: #FFB300;
}

.element-bg {
  background-color: #FFB300;
  color: #000000;
}

.element-border {
  border: 2px solid #FFB300;
}

About #FFB300

#FFB300 is a medium color with vivid, highly saturated, defined by the hex code #FFB300. Its exact color model values are rgb(255, 179, 0) in RGB and hsl(42, 100%, 50%) in HSL (hue 42°, saturation 100%, lightness 50%). On a white background the contrast ratio is 1.79:1 — Fail, and on black it is 11.70:1 — AAA pass for normal text. Use #FFB300 for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of #FFB300?
The RGB value of #FFB300 (#FFB300) is rgb(255, 179, 0). Red = rgb(255, 179, 0), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #FFB300 accessible on a white background?
The contrast ratio of #FFB300 on white (#FFFFFF) is 1.79:1 — Fail. On black (#000000) the contrast ratio is 11.70:1 — AAA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #FFB300?
Based on color theory, #FFB300 (hsl(42, 100%, 50%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.