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