#A2AF18 Color Information

Hex color code: #A2AF18

A eye-catching yellow shade, #A2AF18 appears as (162, 175, 24) in RGB and (65°, 76%, 39%) in HSL. It is widely used in graphic design.

Try:
Color NameYellow Green
HEX
#A2AF18
RGB
162, 175, 24
HSL
65°, 76%, 39%
CMYK
7%, 0%, 86%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A2AF18; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

162, 175, 24

Red: 162 / Green: 175 / Blue: 24

HSL

65°, 76%, 39%

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

CMYK

7%, 0%, 86%, 31%

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

What color is #A2AF18?

#A2AF18 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A2AF18 to RGB:

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

HEX to HSL

Convert #A2AF18 to HSL:

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

HEX to CMYK

Convert #A2AF18 to CMYK:

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

Color Meaning and Usage

#A2AF18 is a vivid yellow color with RGB values of 162, 175, 24 and HSL of 65°, 76%, 39%. This green hue evokes nature and harmony, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A2AF18 is #2418AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF7018.

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

Contrast with #A2AF18

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A2AF18?

#A2AF18 is a vivid yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #A2AF18?

#A2AF18 in RGB is (162, 175, 24) - 162 red, 175 green, and 24 blue.

How to use #A2AF18 in CSS?

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

What colors go well with #A2AF18?

#2418AF (complementary), #AF7018 (analogous), and #646C0F (lighter shade) work well with #A2AF18.