#F0C542

A light, vivid yellow closely aligning with Goldenrod.

About #F0C542

When working with digital screens, the color #F0C542 is rendered by mixing light. Its closest recognized web color is Goldenrod. In the RGB color space, it consists of 240 red, 197 green, and 66 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 0% cyan, 18% magenta, 72% yellow, and 6% black. With a hue angle of 45.2 degrees, it sits comfortably in the yellow spectrum.

Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#F0C542
RGB240, 197, 66
HSL45.2°, 85.3%, 60.0%
CMYK0%, 18%, 72%, 6%
HSV45.2°, 72.5%, 94.1%
LAB81.2, 2.4, 67.8
XYZ56.9, 58.9, 13.5
Decimal15779138

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.64:1
Text on #FFFFFF
FAIL
12.77:1
Text on #000000
AAA
1.57:1
Text on #F8FAFC
FAIL
10.86:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Goldenrod
#DAA520