#F0E22C

A medium, vivid yellow closely aligning with Gold.

About #F0E22C

The hex code #F0E22C represents a beautifully specific shade of yellow. Designers often compare it to the standard color Gold. To achieve this exact tint on a monitor, you would use an RGB mix of 240, 226, and 44.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). To reproduce this shade on paper, a printer utilizes 0% cyan and 6% magenta inks. The HSL representation is 55.7° hue, 86.7% saturation, and 55.7% lightness.

Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #000000 text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#F0E22C
RGB240, 226, 44
HSL55.7°, 86.7%, 55.7%
CMYK0%, 6%, 82%, 6%
HSV55.7°, 81.7%, 94.1%
LAB88.5, -13.1, 81.3
XYZ63.6, 73.1, 13.1
Decimal15786540

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.34:1
Text on #FFFFFF
FAIL
15.62:1
Text on #000000
AAA
1.28:1
Text on #F8FAFC
FAIL
13.28:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #F0E22C; }
.text-color { color: #F0E22C; }
.border-color { border: 2px solid #F0E22C; }

Similar Colors

Gold
#FFD700