#AFBC20 Color Information

Hex color code: #AFBC20

The hex color #AFBC20 is a vivid yellow with RGB values of (175, 188, 32) and HSL of (65°, 71%, 43%). It is commonly used in modern UI design.

Try:
Color NameYellow Green
HEX
#AFBC20
RGB
175, 188, 32
HSL
65°, 71%, 43%
CMYK
7%, 0%, 83%, 26%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFBC20; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 188, 32

Red: 175 / Green: 188 / Blue: 32

HSL

65°, 71%, 43%

Hue: 65° / Saturation: 71% / Lightness: 43%

CMYK

7%, 0%, 83%, 26%

Cyan: 7% / Magenta: 0% / Yellow: 83% / Key: 26%

What color is #AFBC20?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFBC20 to RGB:

rgb(175, 188, 32)HEX to RGB Converter →

HEX to HSL

Convert #AFBC20 to HSL:

hsl(65, 71%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #AFBC20 to CMYK:

cmyk(7%, 0%, 83%, 26%)Color Converter →

Color Meaning and Usage

A vivid yellow tone, #AFBC20 has RGB (175, 188, 32) and HSL (65°, 71%, 43%). 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 #AFBC20 is #2D20BC, creating high-contrast pairings. For softer combinations, try analogous colors like #BC7B20.

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

Contrast with #AFBC20

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFBC20?

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

What is the RGB value of #AFBC20?

#AFBC20 in RGB is (175, 188, 32) - 175 red, 188 green, and 32 blue.

How to use #AFBC20 in CSS?

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

What colors go well with #AFBC20?

#2D20BC (complementary), #BC7B20 (analogous), and #727A15 (lighter shade) work well with #AFBC20.