What is hex #FFAB2E 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, 67% green and 18% blue, resulting in rgb(255, 171, 46) and hsl(36, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 33%, 82%, 0%).
In the HSV/HSB scale, #FFAB2E features a hue of 36°, 82% saturation, and 100% brightness.
Hex #FFAB2E Color Codes & Conversions
| Closest Named Color | Bright Yellow Crayola (#FFAA1D) |
| Hex Code | #FFAB2E |
| Hex8 (RGBA Hex) | #FFAB2EFF |
| RGB (CSS) | rgb(255, 171, 46) |
| RGBA (CSS) | rgba(255, 171, 46, 1) |
| HSL (CSS) | hsl(36, 100%, 59%) |
| HSLA (CSS) | hsla(36, 100%, 59%, 1) |
| HSV / HSB | (36°, 82%, 100%) |
| CMYK Values | (0%, 33%, 82%, 0%) |
| OKLCH (Modern CSS) | oklch(80.5% 0.161 71.0) |
| CIE-LAB (D65) | 76.43, 21.51, 71.02 |
| CIE XYZ | 56.30, 50.59, 9.38 |
| Decimal / Binary |
16755502
11111111 10101011 00101110 |
Closest Standards & Equivalents
| Closest Web Safe | #FF9933 [Deep Saffron] |
| Inverse Color | #0054D1 |
| Complementary Color | #2E82FF |
| Closest Pantone® | Pantone 143 C |
| Closest RAL | RAL 1018 [Zinc yellow] |
#FFAB2E Grayscale Equivalents
| Average | #9D9D9D |
| Lightness (Desaturation) | #979797 |
| Weighted (BT601) | #B6B6B6 |
| Luma (BT709) | #B4B4B4 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFAB2E 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 #FFAB2E
Sample preview of readable typography on top of #FFAB2E.
Black Text on #FFAB2E
Sample preview of readable typography on top of #FFAB2E.
HTML / CSS Live Previews & Snippets for #FFAB2E
Preview #FFAB2E in real UI elements and copy ready-to-use CSS rules.
background-color: #FFAB2E;
color: #FFAB2E;
border: 2px solid #FFAB2E;
:root {
--color-primary: #FFAB2E;
--color-primary-rgb: 255, 171, 46;
--color-complementary: #2E82FF;
}
.btn-accent {
background-color: #FFAB2E;
color: #000000;
}
Hex #FFAB2E Color Palettes
Complementary Palette
The complementary color of #FFAB2E is #2E82FF. 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 #FFAB2E pairs with #FF422E and #EAFF2E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFAB2E pairs with #422EFF and #2EEAFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFAB2E uses #AB2EFF and #2EFFAB, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFAB2E combines #2EFFAB, #2E82FF and #FF2E82 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFAB2E pairs with #2EFF42, #2E82FF and #FF2EEA spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFAB2E
Tints
Tints are created by mixing #FFAB2E with white, producing lighter variations.
Tones
Tones are created by mixing #FFAB2E with gray, softening saturation.
Shades
Shades result from mixing #FFAB2E with black, creating deeper variations.
Hex #FFAB2E in Programming & CSS Frameworks
Copy the exact syntax for #FFAB2E in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFAB2E |
| Tailwind CSS | bg-[#FFAB2E] text-[#FFAB2E] |
| Java (AWT) | new Color(255,171,46); |
| Python | Color("#FFAB2E") |
| .NET (C#) | Color.FromArgb(255, 255,171,46); |
| Swift / iOS | UIColor(red: 1, green: 0.67, blue: 0.18, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 171, 46) |