#5A511C
Color Details
HEX
#5A511C
RGB
rgb(90, 81, 28)
HSL
hsl(51, 53%, 23%)
CMYK
cmyk(0%, 10%, 69%, 65%)
Best text on this color
#FFFFFF (CR 7.99:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #5A511C
#5A511C converts to RGB(90, 81, 28) and HSL(51, 53%, 23%). 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).
#5A511C FAQs
What is the RGB value of #5A511C?
RGB: 90, 81, 28. Copy as CSS:
rgb(90, 81, 28)
Is #5A511C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A511C?
Complement: #1c255a.
Does #5A511C have good contrast on white or black?
On white: 7.99:1 (AAA (normal text)).
On black: 2.63:1 (Fails AA).