#40542C
Color Details
HEX
#40542C
RGB
rgb(64, 84, 44)
HSL
hsl(90, 31%, 25%)
CMYK
cmyk(24%, 0%, 48%, 67%)
Best text on this color
#FFFFFF (CR 8.33:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #40542C
#40542C converts to RGB(64, 84, 44) and HSL(90, 31%, 25%). 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).
#40542C FAQs
What is the RGB value of #40542C?
RGB: 64, 84, 44. Copy as CSS:
rgb(64, 84, 44)
Is #40542C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #40542C?
Complement: #402c54.
Does #40542C have good contrast on white or black?
On white: 8.33:1 (AAA (normal text)).
On black: 2.52:1 (Fails AA).