#AFB28A Color Information
Hex color code: #AFB28A
#AFB28A is a subtle yellow color. In RGB it is (175, 178, 138), and in HSL it is (64°, 21%, 62%). It is often used for branding and logos.
Shades
color: #AFB28A; background-color: #AFB28A; border-color: #AFB28A; box-shadow: 0 0 10px #AFB28A; border: 2px solid #AFB28A;
bg-[#AFB28A] text-[#AFB28A] border-[#AFB28A] shadow-[0_0_10px_AFB28A]
Generate Gradient
background: linear-gradient(90deg, #AFB28A, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #AFB28A in the color wheel.
RGB, HSL and CMYK Values
RGB
175, 178, 138
Red: 175 / Green: 178 / Blue: 138
HSL
64°, 21%, 62%
Hue: 64° / Saturation: 21% / Lightness: 62%
CMYK
2%, 0%, 22%, 30%
Cyan: 2% / Magenta: 0% / Yellow: 22% / Key: 30%
What color is #AFB28A?
#AFB28A is a green hue associated with nature and harmony.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#AFB28A is a subtle yellow color with RGB values of 175, 178, 138 and HSL of 64°, 21%, 62%. This green hue evokes nature and harmony, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #AFB28A is #8C8AB2, creating high-contrast pairings. For softer combinations, try analogous colors like #B2A18A.
Use #AFB28A in CSS: color: #AFB28A or background-color: #AFB28A. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #AFB28A
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #AFB28A?
#AFB28A is a subtle yellow color - a green hue that evokes nature and harmony.
What is the RGB value of #AFB28A?
#AFB28A in RGB is (175, 178, 138) - 175 red, 178 green, and 138 blue.
How to use #AFB28A in CSS?
Use #AFB28A directly in your CSS properties like color or background-color.