What is hex #AFA429 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 69% red, 64% green and 16% blue, resulting in rgb(175, 164, 41) and hsl(55, 62%, 42%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 6%, 77%, 31%).
In the HSV/HSB scale, #AFA429 features a hue of 55°, 77% saturation, and 69% brightness.
Hex #AFA429 Color Codes & Conversions
| Closest Named Color | Citron (#9FA91F) |
| Hex Code | #AFA429 |
| Hex8 (RGBA Hex) | #AFA429FF |
| RGB (CSS) | rgb(175, 164, 41) |
| RGBA (CSS) | rgba(175, 164, 41, 1) |
| HSL (CSS) | hsl(55, 62%, 42%) |
| HSLA (CSS) | hsla(55, 62%, 42%, 1) |
| HSV / HSB | (55°, 77%, 69%) |
| CMYK Values | (0%, 6%, 77%, 31%) |
| OKLCH (Modern CSS) | oklch(70.7% 0.137 104.1) |
| CIE-LAB (D65) | 66.39, -9.63, 60.57 |
| CIE XYZ | 31.36, 35.83, 7.36 |
| Decimal / Binary |
11510825
10101111 10100100 00101001 |
WCAG 2.1 Color Contrast & Accessibility
Check how #AFA429 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 #AFA429
Sample preview of readable typography on top of #AFA429.
Black Text on #AFA429
Sample preview of readable typography on top of #AFA429.
HTML / CSS Live Previews & Snippets for #AFA429
Preview #AFA429 in real UI elements and copy ready-to-use CSS rules.
background-color: #AFA429;
color: #AFA429;
border: 2px solid #AFA429;
:root {
--color-primary: #AFA429;
--color-primary-rgb: 175, 164, 41;
--color-complementary: #2934AF;
}
.btn-accent {
background-color: #AFA429;
color: #000000;
}
Hex #AFA429 Color Palettes
Complementary Palette
The complementary color of #AFA429 is #2934AF. 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 #AFA429 pairs with #AF6129 and #77AF29, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #AFA429 pairs with #6129AF and #2977AF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #AFA429 uses #A429AF and #29AFA4, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #AFA429 combines #29AFA4, #2934AF and #AF2934 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #AFA429 pairs with #29AF61, #2934AF and #AF2977 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #AFA429
Tints
Tints are created by mixing #AFA429 with white, producing lighter variations.
Tones
Tones are created by mixing #AFA429 with gray, softening saturation.
Shades
Shades result from mixing #AFA429 with black, creating deeper variations.
Hex #AFA429 in Programming & CSS Frameworks
Copy the exact syntax for #AFA429 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #AFA429 |
| Tailwind CSS | bg-[#AFA429] text-[#AFA429] |
| Java (AWT) | new Color(175,164,41); |
| Python | Color("#AFA429") |
| .NET (C#) | Color.FromArgb(255, 175,164,41); |
| Swift / iOS | UIColor(red: 0.69, green: 0.64, blue: 0.16, alpha: 1) |
| Kotlin / Android | Color.rgb(175, 164, 41) |