#0C8045
Color Details
HEX
#0C8045
RGB
rgb(12, 128, 69)
HSL
hsl(149, 83%, 27%)
CMYK
cmyk(91%, 0%, 46%, 50%)
Best text on this color
#FFFFFF (CR 5.01:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #0C8045
#0C8045 converts to RGB(12, 128, 69) and HSL(149, 83%, 27%). 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).
#0C8045 FAQs
What is the RGB value of #0C8045?
RGB: 12, 128, 69. Copy as CSS:
rgb(12, 128, 69)
Is #0C8045 a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #0C8045?
Complement: #7e0c47.
Does #0C8045 have good contrast on white or black?
On white: 5.01:1 (AA (normal text)).
On black: 4.19:1 (AA (large text)).