#A8AF23 Color Information

Hex color code: #A8AF23

#A8AF23 is a neutral yellow color. In RGB it is (168, 175, 35), and in HSL it is (63°, 67%, 41%). It is commonly used in modern UI design.

Try:
Color NameYellow Green
HEX
#A8AF23
RGB
168, 175, 35
HSL
63°, 67%, 41%
CMYK
4%, 0%, 80%, 31%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A8AF23; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

168, 175, 35

Red: 168 / Green: 175 / Blue: 35

HSL

63°, 67%, 41%

Hue: 63° / Saturation: 67% / Lightness: 41%

CMYK

4%, 0%, 80%, 31%

Cyan: 4% / Magenta: 0% / Yellow: 80% / Key: 31%

What color is #A8AF23?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A8AF23 to RGB:

rgb(168, 175, 35)HEX to RGB Converter →

HEX to HSL

Convert #A8AF23 to HSL:

hsl(63, 67%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #A8AF23 to CMYK:

cmyk(4%, 0%, 80%, 31%)Color Converter →

Color Meaning and Usage

A muted yellow tone, #A8AF23 has RGB (168, 175, 35) and HSL (63°, 67%, 41%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A8AF23 is #2A23AF, creating high-contrast pairings. For softer combinations, try analogous colors like #AF7023.

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

Contrast with #A8AF23

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 #A8AF23?

#A8AF23 is a muted yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #A8AF23?

#A8AF23 in RGB is (168, 175, 35) - 168 red, 175 green, and 35 blue.

How to use #A8AF23 in CSS?

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

What colors go well with #A8AF23?

#2A23AF (complementary), #AF7023 (analogous), and #6A6F16 (lighter shade) work well with #A8AF23.