#F0C51D

A medium, vivid yellow closely aligning with Gold.

About #F0C51D

The hex code #F0C51D represents a beautifully specific shade of yellow. It is closely associated with the named CSS color Gold. To achieve this exact tint on a monitor, you would use an RGB mix of 240, 197, and 29.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 0% C, 18% M, 88% Y, and 6% K. The HSL representation is 47.8° hue, 87.6% saturation, and 52.7% lightness.

Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #000000 text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#F0C51D
RGB240, 197, 29
HSL47.8°, 87.6%, 52.7%
CMYK0%, 18%, 88%, 6%
HSV47.8°, 87.9%, 94.1%
LAB81.0, 1.2, 78.6
XYZ56.1, 58.5, 9.5
Decimal15779101

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

1.65:1
Text on #FFFFFF
FAIL
12.71:1
Text on #000000
AAA
1.58:1
Text on #F8FAFC
FAIL
10.80:1
Text on #0F172A
AAA

CSS Implementation

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

Similar Colors

Gold
#FFD700