#AFAD1D Color Information

Hex color code: #AFAD1D

#AFAD1D is a striking yellow color. In RGB it is (175, 173, 29), and in HSL it is (59°, 72%, 40%). It is popular in mobile app design.

Try:
Color NameYellow Green
HEX
#AFAD1D
RGB
175, 173, 29
HSL
59°, 72%, 40%
CMYK
0%, 1%, 83%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #AFAD1D; 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 #AFAD1D; background-color: #AFAD1D15; }

Alert / Toast

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

Link / Accent

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

a { color: #AFAD1D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 173, 29

Red: 175 / Green: 173 / Blue: 29

HSL

59°, 72%, 40%

Hue: 59° / Saturation: 72% / Lightness: 40%

CMYK

0%, 1%, 83%, 31%

Cyan: 0% / Magenta: 1% / Yellow: 83% / Key: 31%

What color is #AFAD1D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFAD1D to RGB:

rgb(175, 173, 29)HEX to RGB Converter →

HEX to HSL

Convert #AFAD1D to HSL:

hsl(59, 72%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #AFAD1D to CMYK:

cmyk(0%, 1%, 83%, 31%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #AFAD1D has RGB (175, 173, 29) and HSL (59°, 72%, 40%). Known for evoking optimism and creativity, this orange-yellow hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFAD1D is #1D1FAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF641D.

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

Contrast with #AFAD1D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFAD1D?

#AFAD1D is a bold yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AFAD1D?

#AFAD1D in RGB is (175, 173, 29) - 175 red, 173 green, and 29 blue.

How to use #AFAD1D in CSS?

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

What colors go well with #AFAD1D?

#1D1FAF (complementary), #AF641D (analogous), and #6E6C12 (lighter shade) work well with #AFAD1D.