#5A821C

Color Details

HEX
#5A821C
RGB
rgb(90, 130, 28)
HSL
hsl(84, 65%, 31%)
CMYK
cmyk(31%, 0%, 78%, 49%)
Best text on this color #000000 (CR 4.64:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #5A821C swatch

Embed this swatch

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

Open image

About #5A821C

#5A821C converts to RGB(90, 130, 28) and HSL(84, 65%, 31%). 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).

#5A821C FAQs

What is the RGB value of #5A821C?
RGB: 90, 130, 28. Copy as CSS: rgb(90, 130, 28)
Is #5A821C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5A821C?
Complement: #451c82.
Does #5A821C have good contrast on white or black?
On white: 4.52:1 (AA (normal text)). On black: 4.64:1 (AA (normal text)).