#D1B31F

Color Details

HEX
#D1B31F
RGB
rgb(209, 179, 31)
HSL
hsl(50, 74%, 47%)
CMYK
cmyk(0%, 14%, 85%, 18%)
Best text on this color #000000 (CR 10.18:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #D1B31F swatch

Embed this swatch

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

Open image

About #D1B31F

#D1B31F converts to RGB(209, 179, 31) and HSL(50, 74%, 47%). 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).

#D1B31F FAQs

What is the RGB value of #D1B31F?
RGB: 209, 179, 31. Copy as CSS: rgb(209, 179, 31)
Is #D1B31F a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #D1B31F?
Complement: #1f3dd1.
Does #D1B31F have good contrast on white or black?
On white: 2.06:1 (Fails AA). On black: 10.18:1 (AAA (normal text)).