#5A500C

Color Details

HEX
#5A500C
RGB
rgb(90, 80, 12)
HSL
hsl(52, 76%, 20%)
CMYK
cmyk(0%, 11%, 87%, 65%)
Best text on this color #FFFFFF (CR 8.12:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #5A500C swatch

Embed this swatch

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

Open image

About #5A500C

#5A500C converts to RGB(90, 80, 12) and HSL(52, 76%, 20%). 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).

#5A500C FAQs

What is the RGB value of #5A500C?
RGB: 90, 80, 12. Copy as CSS: rgb(90, 80, 12)
Is #5A500C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A500C?
Complement: #0c175a.
Does #5A500C have good contrast on white or black?
On white: 8.12:1 (AAA (normal text)). On black: 2.59:1 (Fails AA).