#AFB397 Color Information

Hex color code: #AFB397

The hex color #AFB397 is a neutral yellow with RGB values of (175, 179, 151) and HSL of (69°, 16%, 65%). It is frequently seen in web interfaces.

Try:
Color NameDark Sea Green
HEX
#AFB397
RGB
175, 179, 151
HSL
69°, 16%, 65%
CMYK
2%, 0%, 16%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #AFB397; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

175, 179, 151

Red: 175 / Green: 179 / Blue: 151

HSL

69°, 16%, 65%

Hue: 69° / Saturation: 16% / Lightness: 65%

CMYK

2%, 0%, 16%, 30%

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

What color is #AFB397?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #AFB397 to RGB:

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

HEX to HSL

Convert #AFB397 to HSL:

hsl(69, 16%, 65%)RGB to HSL Converter →

HEX to CMYK

Convert #AFB397 to CMYK:

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

Color Meaning and Usage

A neutral yellow tone, #AFB397 has RGB (175, 179, 151) and HSL (69°, 16%, 65%). 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 #AFB397 is #9C97B4, creating high-contrast pairings. For softer combinations, try analogous colors like #B4AA97.

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

Contrast with #AFB397

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #AFB397?

#AFB397 is a neutral yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #AFB397?

#AFB397 in RGB is (175, 179, 151) - 175 red, 179 green, and 151 blue.

How to use #AFB397 in CSS?

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

What colors go well with #AFB397?

#9C97B4 (complementary), #B4AA97 (analogous), and #8E946B (lighter shade) work well with #AFB397.