#D9B31C
Color Details
HEX
#D9B31C
RGB
rgb(217, 179, 28)
HSL
hsl(48, 77%, 48%)
CMYK
cmyk(0%, 18%, 87%, 15%)
Best text on this color
#000000 (CR 10.42:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #D9B31C
#D9B31C converts to RGB(217, 179, 28) and HSL(48, 77%, 48%). 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).
#D9B31C FAQs
What is the RGB value of #D9B31C?
RGB: 217, 179, 28. Copy as CSS:
rgb(217, 179, 28)
Is #D9B31C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #D9B31C?
Complement: #1c42d9.
Does #D9B31C have good contrast on white or black?
On white: 2.02:1 (Fails AA).
On black: 10.42:1 (AAA (normal text)).