#AFBF5F Color Information

Hex color code: #AFBF5F

The hex color #AFBF5F is a delicate yellow with RGB values of (175, 191, 95) and HSL of (70°, 43%, 56%). It is widely used in graphic design.

Try:
Color NameYellow Green
HEX
#AFBF5F
RGB
175, 191, 95
HSL
70°, 43%, 56%
CMYK
8%, 0%, 50%, 25%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFBF5F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 191, 95

Red: 175 / Green: 191 / Blue: 95

HSL

70°, 43%, 56%

Hue: 70° / Saturation: 43% / Lightness: 56%

CMYK

8%, 0%, 50%, 25%

Cyan: 8% / Magenta: 0% / Yellow: 50% / Key: 25%

What color is #AFBF5F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFBF5F to RGB:

rgb(175, 191, 95)HEX to RGB Converter →

HEX to HSL

Convert #AFBF5F to HSL:

hsl(70, 43%, 56%)RGB to HSL Converter →

HEX to CMYK

Convert #AFBF5F to CMYK:

cmyk(8%, 0%, 50%, 25%)Color Converter →

Color Meaning and Usage

A delicate yellow tone, #AFBF5F has RGB (175, 191, 95) and HSL (70°, 43%, 56%). Known for evoking nature and harmony, this green hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFBF5F is #6F5FBF, creating high-contrast pairings. For softer combinations, try analogous colors like #BF9F5F.

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

Contrast with #AFBF5F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFBF5F?

#AFBF5F is a delicate yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFBF5F?

#AFBF5F in RGB is (175, 191, 95) - 175 red, 191 green, and 95 blue.

How to use #AFBF5F in CSS?

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

What colors go well with #AFBF5F?

#6F5FBF (complementary), #BF9F5F (analogous), and #87963C (lighter shade) work well with #AFBF5F.