#A2AF0D Color Information

Hex color code: #A2AF0D

The hex color #A2AF0D is a vivid yellow with RGB values of (162, 175, 13) and HSL of (65°, 86%, 37%). It is frequently seen in web interfaces.

Try:
Color NameDark Goldenrod
HEX
#A2AF0D
RGB
162, 175, 13
HSL
65°, 86%, 37%
CMYK
7%, 0%, 93%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A2AF0D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 175, 13

Red: 162 / Green: 175 / Blue: 13

HSL

65°, 86%, 37%

Hue: 65° / Saturation: 86% / Lightness: 37%

CMYK

7%, 0%, 93%, 31%

Cyan: 7% / Magenta: 0% / Yellow: 93% / Key: 31%

What color is #A2AF0D?

#A2AF0D is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A2AF0D to RGB:

rgb(162, 175, 13)HEX to RGB Converter →

HEX to HSL

Convert #A2AF0D to HSL:

hsl(65, 86%, 37%)RGB to HSL Converter →

HEX to CMYK

Convert #A2AF0D to CMYK:

cmyk(7%, 0%, 93%, 31%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #A2AF0D has RGB (162, 175, 13) and HSL (65°, 86%, 37%). Known for evoking energy and excitement, this highly saturated hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A2AF0D is #1B0DAF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF6C0D.

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

Contrast with #A2AF0D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A2AF0D?

#A2AF0D is a bold yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #A2AF0D?

#A2AF0D in RGB is (162, 175, 13) - 162 red, 175 green, and 13 blue.

How to use #A2AF0D in CSS?

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

What colors go well with #A2AF0D?

#1B0DAF (complementary), #AF6C0D (analogous), and #606808 (lighter shade) work well with #A2AF0D.