#F2DB0C
Color Details
HEX
#F2DB0C
RGB
rgb(242, 219, 12)
HSL
hsl(54, 91%, 50%)
CMYK
cmyk(0%, 10%, 95%, 5%)
Best text on this color
#000000 (CR 14.91:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #F2DB0C
#F2DB0C converts to RGB(242, 219, 12) and HSL(54, 91%, 50%). 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).
#F2DB0C FAQs
What is the RGB value of #F2DB0C?
RGB: 242, 219, 12. Copy as CSS:
rgb(242, 219, 12)
Is #F2DB0C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #F2DB0C?
Complement: #0b23f4.
Does #F2DB0C have good contrast on white or black?
On white: 1.41:1 (Fails AA).
On black: 14.91:1 (AAA (normal text)).