#AFB927 Color Information

Hex color code: #AFB927

A understated yellow shade, #AFB927 appears as (175, 185, 39) in RGB and (64°, 65%, 44%) in HSL. It is widely used in graphic design.

Try:
Color NameYellow Green
HEX
#AFB927
RGB
175, 185, 39
HSL
64°, 65%, 44%
CMYK
5%, 0%, 79%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB927; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 185, 39

Red: 175 / Green: 185 / Blue: 39

HSL

64°, 65%, 44%

Hue: 64° / Saturation: 65% / Lightness: 44%

CMYK

5%, 0%, 79%, 27%

Cyan: 5% / Magenta: 0% / Yellow: 79% / Key: 27%

What color is #AFB927?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB927 to RGB:

rgb(175, 185, 39)HEX to RGB Converter →

HEX to HSL

Convert #AFB927 to HSL:

hsl(64, 65%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB927 to CMYK:

cmyk(5%, 0%, 79%, 27%)Color Converter →

Color Meaning and Usage

#AFB927 is a subtle yellow color with RGB values of 175, 185, 39 and HSL of 64°, 65%, 44%. This green hue evokes nature and harmony, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB927 is #3127B9, creating high-contrast pairings. For softer combinations, try analogous colors like #B97A27.

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

Contrast with #AFB927

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB927?

#AFB927 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFB927?

#AFB927 in RGB is (175, 185, 39) - 175 red, 185 green, and 39 blue.

How to use #AFB927 in CSS?

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

What colors go well with #AFB927?

#3127B9 (complementary), #B97A27 (analogous), and #747A1A (lighter shade) work well with #AFB927.