#AFAB41 Color Information

Hex color code: #AFAB41

A gentle yellow shade, #AFAB41 appears as (175, 171, 65) in RGB and (58°, 46%, 47%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameYellow Green
HEX
#AFAB41
RGB
175, 171, 65
HSL
58°, 46%, 47%
CMYK
0%, 2%, 63%, 31%

Shades

CSS Usage
color: #AFAB41;
background-color: #AFAB41;
border-color: #AFAB41;
box-shadow: 0 0 10px #AFAB41;
border: 2px solid #AFAB41;
Tailwind Usage
bg-[#AFAB41]
text-[#AFAB41]
border-[#AFAB41]
shadow-[0_0_10px_AFAB41]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #AFAB41, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #AFAB41; color: #000000; }

Badge

New Feature
.badge { background-color: #AFAB41; color: #000000; }

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.

.card-accent { border: 2px solid #AFAB41; background-color: #AFAB4115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #AFAB4120; border-left: 4px solid #AFAB41; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #AFAB41; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #AFAB41 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 171, 65

Red: 175 / Green: 171 / Blue: 65

HSL

58°, 46%, 47%

Hue: 58° / Saturation: 46% / Lightness: 47%

CMYK

0%, 2%, 63%, 31%

Cyan: 0% / Magenta: 2% / Yellow: 63% / Key: 31%

What color is #AFAB41?

#AFAB41 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAB41 to RGB:

rgb(175, 171, 65)HEX to RGB Converter →

HEX to HSL

Convert #AFAB41 to HSL:

hsl(58, 46%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAB41 to CMYK:

cmyk(0%, 2%, 63%, 31%)Color Converter →

Color Meaning and Usage

#AFAB41 is a subtle yellow color with RGB values of 175, 171, 65 and HSL of 58°, 46%, 47%. This orange-yellow hue evokes optimism and creativity, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAB41 is #4144AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF7441.

Use #AFAB41 in CSS: color: #AFAB41 or background-color: #AFAB41. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #AFAB41

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 8.72:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAB41?

#AFAB41 is a subtle yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AFAB41?

#AFAB41 in RGB is (175, 171, 65) - 175 red, 171 green, and 65 blue.

How to use #AFAB41 in CSS?

Use #AFAB41 directly in your CSS properties like color or background-color.

What colors go well with #AFAB41?

#4144AF (complementary), #AF7441 (analogous), and #77752C (lighter shade) work well with #AFAB41.