#AFA71C

Color Details

HEX
#AFA71C
RGB
rgb(175, 167, 28)
HSL
hsl(57, 72%, 40%)
CMYK
cmyk(0%, 5%, 84%, 31%)
Best text on this color #000000 (CR 8.37:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #AFA71C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #AFA71C

#AFA71C converts to RGB(175, 167, 28) and HSL(57, 72%, 40%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#AFA71C FAQs

What is the RGB value of #AFA71C?
RGB: 175, 167, 28. Copy as CSS: rgb(175, 167, 28)
Is #AFA71C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #AFA71C?
Complement: #1d24af.
Does #AFA71C have good contrast on white or black?
On white: 2.51:1 (Fails AA). On black: 8.37:1 (AAA (normal text)).