#AFB38F Color Information

Hex color code: #AFB38F

The hex color #AFB38F is a understated yellow with RGB values of (175, 179, 143) and HSL of (67°, 19%, 63%). It is widely used in graphic design.

Try:
Color NameDark Sea Green
HEX
#AFB38F
RGB
175, 179, 143
HSL
67°, 19%, 63%
CMYK
2%, 0%, 20%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB38F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 179, 143

Red: 175 / Green: 179 / Blue: 143

HSL

67°, 19%, 63%

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

CMYK

2%, 0%, 20%, 30%

Cyan: 2% / Magenta: 0% / Yellow: 20% / Key: 30%

What color is #AFB38F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB38F to RGB:

rgb(175, 179, 143)HEX to RGB Converter →

HEX to HSL

Convert #AFB38F to HSL:

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

HEX to CMYK

Convert #AFB38F to CMYK:

cmyk(2%, 0%, 20%, 30%)Color Converter →

Color Meaning and Usage

A balanced yellow tone, #AFB38F has RGB (175, 179, 143) and HSL (67°, 19%, 63%). Known for evoking nature and harmony, this green hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #AFB38F is #938FB3, creating high-contrast pairings. For softer combinations, try analogous colors like #B3A58F.

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

Contrast with #AFB38F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB38F?

#AFB38F is a balanced yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFB38F?

#AFB38F in RGB is (175, 179, 143) - 175 red, 179 green, and 143 blue.

How to use #AFB38F in CSS?

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

What colors go well with #AFB38F?

#938FB3 (complementary), #B3A58F (analogous), and #8C9263 (lighter shade) work well with #AFB38F.