#AF8C18 Color Information

Hex color code: #AF8C18

A bold yellow shade, #AF8C18 appears as (175, 140, 24) in RGB and (46°, 76%, 39%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Goldenrod
HEX
#AF8C18
RGB
175, 140, 24
HSL
46°, 76%, 39%
CMYK
0%, 20%, 86%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AF8C18; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 140, 24

Red: 175 / Green: 140 / Blue: 24

HSL

46°, 76%, 39%

Hue: 46° / Saturation: 76% / Lightness: 39%

CMYK

0%, 20%, 86%, 31%

Cyan: 0% / Magenta: 20% / Yellow: 86% / Key: 31%

What color is #AF8C18?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AF8C18 to RGB:

rgb(175, 140, 24)HEX to RGB Converter →

HEX to HSL

Convert #AF8C18 to HSL:

hsl(46, 76%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #AF8C18 to CMYK:

cmyk(0%, 20%, 86%, 31%)Color Converter →

Color Meaning and Usage

#AF8C18 is a eye-catching yellow color with RGB values of 175, 140, 24 and HSL of 46°, 76%, 39%. This orange-yellow hue evokes optimism and creativity, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AF8C18 is #183BAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF4018.

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

Contrast with #AF8C18

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

Contrast Ratio: 6.59:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AF8C18?

#AF8C18 is a eye-catching yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #AF8C18?

#AF8C18 in RGB is (175, 140, 24) - 175 red, 140 green, and 24 blue.

How to use #AF8C18 in CSS?

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

What colors go well with #AF8C18?

#183BAF (complementary), #AF4018 (analogous), and #6C560F (lighter shade) work well with #AF8C18.