#F0CC42

A light, vivid yellow closely aligning with Goldenrod.

About #F0CC42

Visually, #F0CC42 is defined as a vivid yellow. Its closest recognized web color is Goldenrod. This translates to an RGB value of rgb(240, 204, 66).

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 15% M, 72% Y, and 6% K. This makes it a relatively light color when applied to physical surfaces.

Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #000000 text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#F0CC42
RGB240, 204, 66
HSL47.6°, 85.3%, 60.0%
CMYK0%, 15%, 72%, 6%
HSV47.6°, 72.5%, 94.1%
LAB83.0, -1.2, 69.6
XYZ58.5, 62.1, 14.1
Decimal15780930

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.56:1
Text on #FFFFFF
FAIL
13.42:1
Text on #000000
AAA
1.50:1
Text on #F8FAFC
FAIL
11.41:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Goldenrod
#DAA520