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