#F2B21C
Color Details
HEX
#F2B21C
RGB
rgb(242, 178, 28)
HSL
hsl(42, 89%, 53%)
CMYK
cmyk(0%, 26%, 88%, 5%)
Best text on this color
#000000 (CR 11.16:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #F2B21C
#F2B21C converts to RGB(242, 178, 28) and HSL(42, 89%, 53%). 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).
#F2B21C FAQs
What is the RGB value of #F2B21C?
RGB: 242, 178, 28. Copy as CSS:
rgb(242, 178, 28)
Is #F2B21C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #F2B21C?
Complement: #1c5cf2.
Does #F2B21C have good contrast on white or black?
On white: 1.88:1 (Fails AA).
On black: 11.16:1 (AAA (normal text)).