#F0CC00
A medium, vivid yellow closely aligning with Gold.
About #F0CC00
The precise color #F0CC00 is an excellent choice for modern design projects. Its closest recognized web color is Gold. In the RGB color space, it consists of 240 red, 204 green, and 0 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 0% cyan, 15% magenta, 100% yellow, and 6% black. With a hue angle of 51.0 degrees, it sits comfortably in the yellow spectrum.
Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #000000 text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#F0CC00
RGB240, 204, 0
HSL51.0°, 100.0%, 47.1%
CMYK0%, 15%, 100%, 6%
HSV51.0°, 100.0%, 94.1%
LAB82.8, -2.7, 83.5
XYZ57.5, 61.7, 8.9
Decimal15780864
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
1.57:1
Text on #FFFFFF
FAIL
13.34:1
Text on #000000
AAA
1.50:1
Text on #F8FAFC
FAIL
11.34:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #F0CC00;
}
.text-color {
color: #F0CC00;
}
.border-color {
border: 2px solid #F0CC00;
}