#F0CC2C

A medium, vivid yellow closely aligning with Gold.

About #F0CC2C

The precise color #F0CC2C is an excellent choice for modern design projects. Its closest recognized web color is Gold. To achieve this exact tint on a monitor, you would use an RGB mix of 240, 204, and 44.

Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 0% cyan, 15% magenta, 82% yellow, and 6% black. With a hue angle of 49.0 degrees, it sits comfortably in the yellow spectrum.

When using this color as a background, text legibility must be considered. Because it is a medium color, it is generally recommended to use #000000 text. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#F0CC2C
RGB240, 204, 44
HSL49.0°, 86.7%, 55.7%
CMYK0%, 15%, 82%, 6%
HSV49.0°, 81.7%, 94.1%
LAB82.9, -2.0, 76.5
XYZ58.0, 61.9, 11.3
Decimal15780908

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.57:1
Text on #FFFFFF
FAIL
13.38:1
Text on #000000
AAA
1.50:1
Text on #F8FAFC
FAIL
11.37:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Gold
#FFD700