#F0CC0F

A medium, vivid yellow closely aligning with Gold.

About #F0CC0F

When working with digital screens, the color #F0CC0F is rendered by mixing light. If you're using CSS, you might find it aligns closely with Gold. This translates to an RGB value of rgb(240, 204, 15).

For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 0% C, 15% M, 94% Y, and 6% K. This makes it a relatively light color when applied to physical surfaces.

From a UX and accessibility standpoint, contrast is paramount. To prevent eye strain, #000000 text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#F0CC0F
RGB240, 204, 15
HSL50.4°, 88.2%, 50.0%
CMYK0%, 15%, 94%, 6%
HSV50.4°, 93.8%, 94.1%
LAB82.8, -2.6, 82.1
XYZ57.6, 61.7, 9.3
Decimal15780879

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.35:1
Text on #000000
AAA
1.50:1
Text on #F8FAFC
FAIL
11.35:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Gold
#FFD700