#AFAB1D Color Information
Hex color code: #AFAB1D
#AFAB1D is a vivid yellow color. In RGB it is (175, 171, 29), and in HSL it is (58°, 72%, 40%). It is frequently seen in web interfaces.
Shades
color: #AFAB1D; background-color: #AFAB1D; border-color: #AFAB1D; box-shadow: 0 0 10px #AFAB1D; border: 2px solid #AFAB1D;
bg-[#AFAB1D] text-[#AFAB1D] border-[#AFAB1D] shadow-[0_0_10px_AFAB1D]
Generate Gradient
background: linear-gradient(90deg, #AFAB1D, #FF5733);
Preview in UI
Button
Badge
Text Highlight
The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.
Card
Card Title
This card uses your color as a border accent.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #AFAB1D in the color wheel.
RGB, HSL and CMYK Values
RGB
175, 171, 29
Red: 175 / Green: 171 / Blue: 29
HSL
58°, 72%, 40%
Hue: 58° / Saturation: 72% / Lightness: 40%
CMYK
0%, 2%, 83%, 31%
Cyan: 0% / Magenta: 2% / Yellow: 83% / Key: 31%
What color is #AFAB1D?
#AFAB1D is a orange-yellow hue associated with optimism and creativity.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#AFAB1D is a eye-catching yellow color with RGB values of 175, 171, 29 and HSL of 58°, 72%, 40%. This orange-yellow hue evokes optimism and creativity, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #AFAB1D is #1D21AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF611D.
Use #AFAB1D in CSS: color: #AFAB1D or background-color: #AFAB1D. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #AFAB1D
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #AFAB1D?
#AFAB1D is a eye-catching yellow color - a orange-yellow hue that evokes optimism and creativity.
What is the RGB value of #AFAB1D?
#AFAB1D in RGB is (175, 171, 29) - 175 red, 171 green, and 29 blue.
How to use #AFAB1D in CSS?
Use #AFAB1D directly in your CSS properties like color or background-color.